摘要: 一 获取当前平台 platform import platform print(platform.platform()) 阅读全文
posted @ 2017-11-30 17:56 xqnq2007 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1 time.sleep import time for i in range(5): print(i) time.sleep(10) 2 用shed 其中func中放要执行的函数,用schedule.enter加入要执行的函数,里面的第一个参数是延迟执行的时间,用sched.scheduler进行 阅读全文
posted @ 2017-11-30 17:34 xqnq2007 阅读(26422) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/zhzh213/article/details/53842790 有个内部工具叫做2to3.py位置在Python3/tool/script文件夹。 首先CD到这个文件夹,然后 [python] view plain copy print? py 2to3. 阅读全文
posted @ 2017-11-30 17:34 xqnq2007 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 在关闭driver时,如果用close,而不是用quit,会出现如下错误: Exception ignored in: <bound method Popen.__del__ of <subprocess.Popen object at 0x0000027A6CAD1278>>Traceback ( 阅读全文
posted @ 2017-11-30 15:42 xqnq2007 阅读(1873) 评论(0) 推荐(1) 编辑