BBYR Achieve
返回首页
版面

Python

学术科技 · 当前来自首页固化板块目录。

2372
本版帖子
镜像python程序脚本刷微博粉丝

各位大神,知道这个微博刷粉丝能实现吗,用python脚本,小白求问[ema41]

judybyr2018/1/5Python最后回复 2018/1/5· judybyr
2
镜像正则表达式很困惑的问题

import re s = "www.jaeapedu.comwww.JeapedU.comwww.jEAPEDU.comwww.heapedu.comwww.HeapedU.com" res = '(j|J)|(u|U)|(c)' print (re.findall(res,s)) 输出: [('j', '', ''…

mhxzkhl2018/1/5Python最后回复 2018/1/5· mhxzkhl
6
镜像【已解决】【问题】这两份代码的区别在哪?

楼主小白,最近在上MIT6.00.1x那个入门课。中期考试有一道题是根据给出的功能描述实现函数。 ```Python def score(word, f): """ word, a string of length > 1 of alphabetical characters (upper and lowercase)…

youdianer2018/1/4Python最后回复 2018/1/4· youdianer
4
镜像data structure and algorithm with python

https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/; http://interactivepython.org/runestone/stat…

lucashood2018/1/2Python最后回复 2018/1/3· lucashood
3
镜像【问题】请问怎么输入ascci控制字符

比如像\001 和\002?

ridicucredi2018/1/2Python最后回复 2018/1/2· yo1995
2
镜像关于新开的Python公选课

陈远祥老师有人了解吗?给分怎么样?

bupt00012018/1/2Python最后回复 2018/1/2· zhuxuhan
2
镜像怎样能让路由器后的所有电脑都上不了网

四台电脑都接着路由器,怎样写个程序拖慢整体网速,让大家都连着网,却只能龟速上网?

funlife2018/1/1Python最后回复 2018/1/2· xingkong123
30
镜像小白请教一个问题

最近需要用Python爬取数据,就在Windows系统下装了Python和IDE pycharm,在装beautifulsoup的时候遇到了问题。具体情况是,我把这个库装在了Python的文件夹目录下,直接运行Python的控制台的时候是没问题的,但是在pycharm里识别不了这个库。又装在了pycharm下,还是不行…

Caohf2017/12/20Python最后回复 2017/12/22· mengmeng7183
20
镜像【问题】怎么实现python和matlab的混合编程?

matlab版本为:matlab2016b python版本为:python3.5.4 import matlab成功, 但是执行 import matlab.engine缺总是报下面的错: ImportError: No module named 'matlab.engine'; 小白向个位大佬求助!

muli2017/12/16Python最后回复 2017/12/17· mushroomboy
9
镜像有同学用过django rest framework搭web吗?请教些问题

背景:A表有指向B表的外键,B表有个指向C表的外键。 草图: A{a:1,b:B} B{b:2,c:C} C{c:3} 1、我序列化A表输出的时候,怎么操作才可以只输出A表不输出B、C表,又怎么操作才可以只输出A B表不输出C表呢? 2、怎么通过B表的b元素来筛选出A表来?

Gewter2017/12/13Python最后回复 2017/12/14· Gewter
5
镜像一个类A有对象abc,给未定义的d赋值会发生什么?

class A: def __init__(self): self.a = random.randint(0, 10) self.b = random.randint(0, 10) self.c = random.randint(0, 10) def prt(self): print "a:",self.a,", b:…

TOEFL2017/12/4Python最后回复 2017/12/11· ilusion
13
镜像python的字符编码问题

我才学python有些问题没看懂 问题可能有点白痴了 就是看了一个教程,上面有这样一段 捋一捋ASCII编码和Unicode编码的区别:ASCII编码是1个字节,而Unicode编码通常是2个字节。 由ASCIII到Unicode: 字母A用ASCII编码是十进制的65,二进制的01000001 如果把ASCII编码的…

jp20171410212017/12/6Python最后回复 2017/12/11· jh1
7
镜像【问题】python 通过docker remote API实现docker web 的虚拟t

RT。求问如何才能做到,现在卡在docker的websocket的写法上, URL= ‘ws://xxx.xxx.xxx.xxx:4243/containers/fd3f743edb19/attach/ws?logs=0&stream=1&stdin=1&stdout=1&stderr=1’ 解释一下,因为是本地的do…

hotpot2017/12/9Python最后回复 2017/12/10· hotpot
2
镜像关于python的点号运算

class Student(object): __slots__ = ('__name__') def __init__(self): object.__setattr__(self, '__name__', {}) def __setattr__(self, key, value): map = self.__nam…

sweater2017/12/8Python最后回复 2017/12/8· andlase
2
镜像wxpython的Panel切换问题

rt,最近在学习wxpython开发界面。需求是这样的: 所有的控件都在Frame里,工具栏是四个按钮,初始化显示第一个按钮的Panel,点击不同的按钮将显示不同的Panel。请问这个要怎么做到呢(PS:wxpython的文档实在是太欠缺了哎QAQ)?

adong2017/11/24Python最后回复 2017/12/6· adong
2