f: O5 M- z0 d- Adump(st)7 c) T! f2 W' b, b1 A
' \7 d; v9 Q9 f+ P
1 w4 X K4 u- G) G. _- y- n, N! B5 f- {3 {; ]3 C! |4 y
remark: os.stat(path/file)返回文件的对应属性值st_mode (protection bits), st_ino (inode number), st_dev (device), st_nlink (number of hard links), st_uid (user id of owner), st_gid (group id of owner), st_size (size of file, in bytes), st_atime (time of most recent access), st_mtime (time of most recent content modification), st_ctime (platform dependent; time of most recent metadata change on Unix, or the time of creation on Windows): + \% A0 i/ h E# p9 X+ I2 z$ @' j0 x! p) C- ^/ C
os.fstat(path/file)# T2 Z0 K8 L' |, }; D
! L% K' [' F: TReturn status for file descriptor fd, like stat(). 作者: darker50 时间: 2012-7-10 16:38
可以放进文档当成附件下载的!作者: Seawind2012 时间: 2012-7-10 19:00