会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
非鱼非
博客园
首页
新随笔
联系
订阅
管理
2019年6月21日
Learn python the seventh day
摘要: 1 from selenium import webdriver # 用来驱动浏览器的 2 from selenium.webdriver import ActionChains # 破解滑动验证码的时候用的 可以拖动图片 3 import time 4 from PIL import Image
阅读全文
posted @ 2019-06-21 23:04 非鱼非
阅读(162)
评论(0)
推荐(0)
编辑
2019年6月20日
Learn python the eighth day
摘要: 1 html_doc = """ 2 <html><head><title>The Dormouse's story</title></head> 3 <body> 4 <p class="sister"><b>$37</b></p> 5 6 <p class="story" id="p">Once
阅读全文
posted @ 2019-06-20 22:02 非鱼非
阅读(153)
评论(0)
推荐(0)
编辑
2019年6月18日
Learn python the sixth day
摘要: from selenium import webdriver from selenium.webdriver import ActionChains import time driver=webdriver.Chrome(r'D:\chromedriver_win32\chromedriver.ex
阅读全文
posted @ 2019-06-18 22:22 非鱼非
阅读(133)
评论(0)
推荐(0)
编辑
2019年6月17日
Learn python the fifth day.
摘要: 恢复内容开始 #2 requests高级用法 恢复内容结束
阅读全文
posted @ 2019-06-17 21:40 非鱼非
阅读(178)
评论(0)
推荐(0)
编辑
2019年6月14日
Learn python the fourth day.
摘要: 五、requests详细使用 六、爬取豆瓣电影top250 (这里只显示的是浏览器第一页) 七、作业
阅读全文
posted @ 2019-06-14 22:48 非鱼非
阅读(191)
评论(0)
推荐(0)
编辑
2019年6月13日
Learn python the third day.
摘要: # 今日内容:# 函数剩余部分# 内置模块# 模块与包1 函数的三种定义方式无参函数 不需要接收外部传入的参数def foo(): print('from foo..') foo()有参函数需要接收外部传入的参数def login(user,pwd) print(user)传参多一或少一不可login('cc','123')login('cc','123','111') #...
阅读全文
posted @ 2019-06-13 22:30 非鱼非
阅读(121)
评论(0)
推荐(0)
编辑
2019年6月12日
Learn python the second day.
摘要: 课堂笔记:
阅读全文
posted @ 2019-06-12 21:43 非鱼非
阅读(133)
评论(0)
推荐(0)
编辑
2019年6月11日
Learn Python the first day.
摘要: 作业题: 1 name='aleX' 2 # 移除 name 变量对应的值两边的空格,并输出处理结果 3 print(name.strip()) 4 5 # # 判断 name 变量对应的值是否以 "al" 开头,并输出结果 6 print(name.startswith('al')) #True 7 8 # # 判断 name 变量对应的值是否以 "X" 结尾,并输出结...
阅读全文
posted @ 2019-06-11 21:00 非鱼非
阅读(200)
评论(0)
推荐(0)
编辑