← 返回列表

Python3 os 模块 Stat 方法

Python3 os 模块 Stat 方法 # !/usr/bin/python3 import os, sys # showing stat information of file "foo.txt" statinfo = os.stat('foo.txt') print (statinfo)

Python3 os 模块 Stat 方法

# !/usr/bin/python3
import os, sys

# showing stat information of file "foo.txt"
statinfo = os.stat('foo.txt')

print (statinfo)

打开资源 ↗

交流与评论