摘要:
第一种 sleep 睡眠线程 import time # 每n 秒执行一次 def timer(n): while True: print(datetime.now().strftime("%Y-%m-%d %H:%M:%S")) time.sleep(n) 第二种 threading模块中的Tim 阅读全文
posted @ 2021-09-16 18:01
darling331
阅读(241)
评论(0)
推荐(0)
摘要:
请求一个附件地址,并将附件下载下来 import requests url = 'https://js.shaanxi.gov.cn/userfiles/2021-Year/8-Month/31-Day/附件:8-2三类人员跨省变更人员名单.xls' res = requests.get(url) 阅读全文
posted @ 2021-09-16 14:18
darling331
阅读(271)
评论(0)
推荐(0)

浙公网安备 33010602011771号