摘要:
import threading import time def thread_job1(): for it in range(10): time.sleep(0.1) print('This is an added Thread1, number is %s' % threading.current_thread()) def thread_job2(... 阅读全文
posted @ 2019-04-02 11:23
ACPIE
阅读(243)
评论(0)
推荐(0)
摘要:
检测文件名是否正确,然后按行读取文件,否则循环输入文件名直至正确。 阅读全文
posted @ 2019-04-02 10:01
ACPIE
阅读(141)
评论(0)
推荐(0)