[Tutor] for a given file, how to find file size?

Kent Johnson kent37 at tds.net
Wed Oct 3 17:40:29 CEST 2007


Kamal wrote:
> never mind found my answer here
> 
> http://docs.python.org/lib/os-file-dir.html

os.path.getsize() also works.

Kent


More information about the Tutor mailing list