怎么用Python提取PC微信通讯录信息2
这个在前面那个得基础上加上了获取签名import uiautomation as auto import csv,codecs result = [] wechat_str="" wechatWindow = auto.WindowControl(searchDe ... 继续阅读 »
这个在前面那个得基础上加上了获取签名import uiautomation as auto import csv,codecs result = [] wechat_str="" wechatWindow = auto.WindowControl(searchDe ... 继续阅读 »
这里用到了uiautomation模块 中文说明 实现代码: import uiautomation as auto import csv,codecs result = [] wechat_str="" wechatWindow = auto.Window ... 继续阅读 »
Pyinstaller打包为EXEpyinstaller -F -w demo.py ... 继续阅读 »
现在的时间time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())) ... 继续阅读 »
读取指定行import linecache file_path = r'D:\work\python\test.txt' line_number = 5 def get_line_context(file_path, line_number): return line ... 继续阅读 »
生成9位随机数num = ''.join(str(i) for i in random.sample(range(0,9),9)) ... 继续阅读 »
生成8位随机字符串str = ''.join(random.sample(string.ascii_letters + string.digits, 8)) ... 继续阅读 »