How can I find out the size of a file

Irmen de Jong irmen.NOSPAM at xs4all.nl
Wed Mar 28 18:09:26 EDT 2007


Marko.Cain.23 at gmail.com wrote:
> How can I find out the size of a file in a disk in python?

os.path.getsize(filename)


-Irmen



More information about the Python-list mailing list