01 2024 档案
摘要:alist=[2,5,32,34,11,44,65,113] print(alist[::])##取所有alist [2, 5, 32, 34, 11, 44, 65, 113] print(alist[::-1])##alist倒序 [113, 65, 44, 11, 34, 32, 5, 2]
阅读全文
摘要:import contextlib class MyWith: def __enter__(self): print('enter') return self def doThing(self): print('do.....') def __exit__(self, exc_type, exc_v
阅读全文
摘要:from concurrent.futures.thread import ThreadPoolExecutor import requests song_list=[ {'title':'胡广生.mp3','url':'https://webfs.hw.kugou.com/202401081759
阅读全文