[Tutor] How to check a files size

Terry Carroll carroll at tjc.com
Thu Jun 29 01:40:06 CEST 2006


On Thu, 29 Jun 2006, [ISO-8859-1] Magnus Wirström wrote:

> I would like to ask what is the best way to get the file size on a large 
> file. 

filesize = os.stat(filename).st_size




More information about the Tutor mailing list