随笔分类 -  Python

Python获取时间戳
摘要:import datetime as dt dt.datetime.now().microsecond 阅读全文
posted @ 2018-08-03 09:26 邶风 阅读(719) 评论(1) 推荐(0)
Timer
摘要:转自:http://www.cnblogs.com/alex3714/articles/5230609.html def hello(): print("hello, world") t = Timer(30.0, hello) t.start() # after 30 seconds, "hell 阅读全文
posted @ 2018-07-05 21:03 邶风 阅读(150) 评论(0) 推荐(0)
Python线程二
摘要:转自:https://www.cnblogs.com/chengd/articles/7770898.html 1. threading.Lock() 当多个线程同时执行lock.acquire()时,只有一个线程能成功地获取锁,然后继续执行代码,其他线程就继续等待直到获得锁为止。 获得锁的线程用完 阅读全文
posted @ 2018-07-05 20:04 邶风 阅读(380) 评论(0) 推荐(0)
python3线程启动与停止
摘要:转自: https://blog.csdn.net/weixin_38125866/article/details/76795462 https://www.cnblogs.com/lcchuguo/p/4687348.html Python GIL(Global Interpreter Lock) 阅读全文
posted @ 2018-07-05 13:26 邶风 阅读(76557) 评论(0) 推荐(3)
PyQt+Html+Js
摘要:先做记录,后面有时间在仔细研究 https://www.cnblogs.com/jiangjh5/p/7209315.html?utm_source=itdadao&utm_medium=referral https://blog.csdn.net/stypace/article/details/8 阅读全文
posted @ 2018-06-11 14:54 邶风 阅读(1236) 评论(0) 推荐(0)
pyqt实现滑动开关
摘要:https://www.cnblogs.com/feiyangqingyun/p/6035633.html 根据Qt的实现,在PyQt上面实现了滑动开关的控件 阅读全文
posted @ 2018-06-07 19:55 邶风 阅读(3558) 评论(0) 推荐(0)