Size File

Neotaku neotaku at free.fr
Wed Apr 11 12:50:41 EDT 2001


    Thanks

"Fredrik Lundh" <fredrik at pythonware.com> a écrit dans le message news:
jI_A6.4235$sk3.1274782 at newsb.telia.net...
> "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