Wesley13· 1196 阅读 ·2021-10-11 # python# statpython的stat模块 !/usr/bin/envpythonencoding:UTF8importos,time,statfileStatsos.stat('test.txt')获取文件/目录的状态fileInfo