04 2018 档案

摘要:#encoding=utf-8 #文件比较小 count=len(open(r"data.txt",'r').readlines()) print(count) #文件比较大 count=-1 for count, line in enumerate(... 阅读全文
posted @ 2018-04-18 11:30 m*x*h 阅读(145) 评论(0) 推荐(0)
摘要:一共分为两端段代码: 第一段:获取cookie第二段:通过cookie登陆这里以百度云为例:第一部分:保存cookies,直接在cmd中执行就好>>> from selenium import webdriver>>> from selenium.webdriver.... 阅读全文
posted @ 2018-04-13 10:53 m*x*h 阅读(181) 评论(0) 推荐(0)