Size File

Fredrik Lundh fredrik at pythonware.com
Wed Apr 11 11:26:07 EDT 2001


"Neotaku" <neotaku at free.fr> wrote:
> Does anybody know how to have the file size (in Ko for exemple) ?

size = os.path.getsize(filename)

Cheers /F





More information about the Python-list mailing list