随笔分类 -  python

摘要:# 创建新线程 import time import threading def f(x): """任务""" print(x) time.sleep(3) print(x) for i in range(5): threading.Thread(target=f, args=(i,)).start 阅读全文
posted @ 2022-05-11 18:28 cliter 阅读(112) 评论(0) 推荐(0)
摘要:extention_name = input("输入文件名(可拖动):").split(".")[-1] 阅读全文
posted @ 2022-05-11 18:25 cliter 阅读(142) 评论(0) 推荐(0)