摘要: pip install numpy -i https://pypi.douban.com/simple 用pip命令下载大型库时速度慢,换源下载后下载速度很快 -i https://pypi.douban.com/simple pip3 install numpy scipy matplotlib 阅读全文
posted @ 2021-04-13 10:34 txzing 阅读(194) 评论(0) 推荐(0) 编辑
摘要: import _thread #线程import time signal_value = 0 def th1(): a = 0 global signal_value while(1): if(signal_value == 0): print("a") signal_value = 1 a+=1 阅读全文
posted @ 2021-04-13 10:15 txzing 阅读(41) 评论(0) 推荐(0) 编辑