自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 'WebElement' object is not iterable报错

爬取斗鱼直播间信息报错 'WebElement' object is not iterabledef get_content_list(self): # 提取数据 li_list = self.driver.find_elements_by_xpath("//ul[@id='live-list-contentbox']/li") content_list = [] ...

2018-09-18 10:41:27 4228

原创 Pycharm 中Available packages nothing to show

国内源:清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/华中理工大学:http://pypi.hustunique.com/山东理工大学:http://pypi.sdutlinux.o...

2018-06-14 15:30:23 21848 5

原创 AttributeError: module 'pip' has no attribute 'main'如何解决?

报错信息:Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2017.3.1\helpers\packaging_tool.py", line 192, in main retcode = do_install(pkgs) File "C:\Program Files\JetBra...

2018-06-08 19:08:43 1570

原创 python 按字典value排序以及按list中字典的某个key的value排序

1. 按照字典value排序student_1={ 'a':2, 'b':4, 'c':6, 'd':8}student_1_sort = sorted(student_1.iteritems(), key=lambda d: d[1], reverse=True)print(student_1_sort)123456789输出:[('d', 8), ('c...

2018-06-04 15:05:32 512

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除