摘要:
I must learn to use google to solve problems. Input "python get file size" in google. solution:command line: input python, into: >>> import os >>> statinfo = os.stat('somefile.txt') # filename >>> statinfo (33188, 422511L, 769L, 1, 1032, 100, 926L, 110502 阅读全文