摘要:
#前进 driver.back() #后退 driver.forward() #刷新 driver.refresh() #退出 driver.quit() #获取所有 cookie cookies=driver.get_cookies() #删除所有 cookie 信息。 driver.delete_all_cookies() #获取cookie cookie=driver.ge... 阅读全文
posted @ 2019-09-10 21:24
anobscureretreat
阅读(226)
评论(0)
推荐(0)
摘要:
启动pydoc查看文档 python3 -m pydoc -p 6789 访问http://localhost:6789 或者查看官方文档:https://seleniumhq.github.io/selenium/docs/api/py/api.html 阅读全文
posted @ 2019-09-10 21:20
anobscureretreat
阅读(343)
评论(0)
推荐(0)
摘要:
chrome webdriver 下载 http://chromedriver.storage.googleapis.com/index.html?path=2.46/ or http://npm.taobao.org/mirrors/chromedriver/ 下载后把文件解压,然后放到本机chrome浏览器文件路径里 firefox webdriver https://github.... 阅读全文
posted @ 2019-09-10 21:19
anobscureretreat
阅读(120)
评论(0)
推荐(0)
摘要:
#导入库 import pymysql #创建数据库 conn=pymysql.connect(host='localhost',port=3306,db='test',user='root',passwd='password',charset ='utf8') cur=conn.cursor() #查询原数据-----------------------------------------... 阅读全文
posted @ 2019-09-10 21:16
anobscureretreat
阅读(149)
评论(0)
推荐(0)
摘要:
编译 运行 阅读全文
posted @ 2019-09-10 18:28
anobscureretreat
阅读(517)
评论(0)
推荐(0)
摘要:
# coding=utf-8 from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP, PKCS1_v1_5 import base64 from urllib import parse import Crypto.Cipher.AES import Crypto.Random import os imp... 阅读全文
posted @ 2019-09-10 01:09
anobscureretreat
阅读(221)
评论(0)
推荐(0)

浙公网安备 33010602011771号