How can I find out the size of a file

Irmen de Jong irmen.NOSPAM at xs4all.nl
Thu Mar 29 00:09:26 CEST 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