摘要:
import requests from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium import webdriver from selenium.webdriver.chrome.options import Option... 阅读全文
posted @ 2019-02-11 21:13
anobscureretreat
阅读(676)
评论(0)
推荐(0)
摘要:
headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'zh-CN,zh;q=0.9', ... 阅读全文
posted @ 2019-02-11 21:11
anobscureretreat
阅读(582)
评论(0)
推荐(0)
摘要:
from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionCh... 阅读全文
posted @ 2019-02-11 21:08
anobscureretreat
阅读(4563)
评论(0)
推荐(0)
摘要:
from pymouse import PyMouse mouse = PyMouse() mouse.click(220,330) 阅读全文
posted @ 2019-02-11 21:02
anobscureretreat
阅读(1040)
评论(0)
推荐(0)
摘要:
输出 阅读全文
posted @ 2019-02-11 20:59
anobscureretreat
阅读(612)
评论(5)
推荐(0)
摘要:
js触发按钮点击事件 备注: 1.btnObj.click()是真正地用程序去点击按钮,触发了按钮的onclick()事件,按钮不隐藏的时候是可以调用的按钮隐藏之后就不行了,设定隐藏不要使用Visiable属性,使用style.display=none2.btnObj.onclick()只是简单地调 阅读全文
posted @ 2019-02-11 20:50
anobscureretreat
阅读(25622)
评论(0)
推荐(1)
摘要:
鼠标经过事件 密码: 阅读全文
posted @ 2019-02-11 20:43
anobscureretreat
阅读(4890)
评论(0)
推荐(0)
摘要:
# -*- coding:UTF-8 -*- #!/user/bin/env python ''' Created on 2010-9-1 @author: chenzehe ''' import win32com.client from time import sleep loginurl='http://passport.cnblogs.com/login.aspx' loginoutu... 阅读全文
posted @ 2019-02-11 20:39
anobscureretreat
阅读(1026)
评论(0)
推荐(0)
摘要:
python3 在使用网上找到的一些使用剪切板的片段时发现存在写入剪切板后乱码的情况, 研究后发现python3不能使用SetClipboardData方法, 要使用SetClipboardText 阅读全文
posted @ 2019-02-11 19:43
anobscureretreat
阅读(9768)
评论(0)
推荐(0)
摘要:
import yaml with open("a.yaml") as f: with open("a.yaml") as k: while(1): x=f.readline() if(x): if(x==k.readline()): pass ... 阅读全文
posted @ 2019-02-11 19:39
anobscureretreat
阅读(1083)
评论(2)
推荐(0)
摘要:
pymouse安装后,又出现了ModuleNotFoundError: No module named 'windows'的错误 解决: 下载安装pyhook:http://www.lfd.uci.edu/~gohlke/pythonlibs/ ctrl+f 查找 安装 安装成功后,再安装 运行文件 阅读全文
posted @ 2019-02-11 19:02
anobscureretreat
阅读(3970)
评论(0)
推荐(1)
摘要:
pip install pymouse 阅读全文
posted @ 2019-02-11 18:53
anobscureretreat
阅读(524)
评论(0)
推荐(0)
摘要:
方法一 方法二 方法三 阅读全文
posted @ 2019-02-11 18:28
anobscureretreat
阅读(6208)
评论(0)
推荐(0)
摘要:
使用body操作 阅读全文
posted @ 2019-02-11 17:31
anobscureretreat
阅读(493)
评论(0)
推荐(0)
摘要:
需事先打开记事本,再运行下面脚本 阅读全文
posted @ 2019-02-11 16:57
anobscureretreat
阅读(2858)
评论(0)
推荐(0)
摘要:
pip install pywin32 阅读全文
posted @ 2019-02-11 15:25
anobscureretreat
阅读(6121)
评论(0)
推荐(0)
摘要:
//创建分支 //创建并切换到新分支 //远程分支 //查看远程分支 //删除本地分支 //删除远程分支 阅读全文
posted @ 2019-02-11 11:26
anobscureretreat
阅读(223)
评论(0)
推荐(0)
摘要:
列出现有标签(或者使用git tag -l) 如果只对 1.4.2 系列的版本感兴趣 创建一个含附注类型的标签 查看相应标签的版本信息,并连同显示打标签时的提交对象 后期加注标签 我们忘了在提交 “updated rakefile” 后为此项目打上版本号 v1.2,没关系,现在也能做。只要在打标签的 阅读全文
posted @ 2019-02-11 11:17
anobscureretreat
阅读(221)
评论(0)
推荐(0)

浙公网安备 33010602011771号