例题2.5_1

例题2.5_1代码

import os
fn = [filename for filename in os.listdir('F:\PYTHONwork\SpyderPython') if filename.endswith((',exe', '.py'))]
print(fn)





posted @ 2024-10-22 19:09  等我刷把宗师  阅读(17)  评论(0)    收藏  举报