阅读背景:

如何在Python中确定打开文件的大小?

来源:互联网 

There's a file that I would like to make sure does not grow larger than 2 GB (as it must run on a system that uses ext 2). What's a good way to check a file's size bearing in mind that I will be writing to this file in between checks? In particular, do I need to worry about buffered, unflushed changes that haven't been written to disk yet?There's a file that I would like to make sure d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: