摘要:
# 查询文件信息 .stat() import os for file in os.scandir(): #扫描目录文件 print(file.stat()) #查询文件具体的详细信息 import os print(os.stat('demo.py')) #查询指定文件具体的详细信息 #运行输出第 阅读全文
posted @ 2022-10-08 22:07
蓝绝
阅读(44)
评论(0)
推荐(0)
2022年10月8日 #