getsize() function, it returns the size in bytes. >>> os.path.getsize("t2.txt") 6. To get the file modification time we use ...
確定! 回上一頁