通过os 模块中的stat() 函数可以获取到文件的这些基本信息。 stat() 函数的. ... import os; fileinfo = os.stat("a.txt"); print("索引号:",fileinfo.st_ino) ...
確定! 回上一頁