File information??

Stan Cook scook at elp.rr.com
Fri Jul 4 17:49:07 CEST 2003


Thanks.....That did it...  Just what I was looking for!

Stan
"Ian Bicking" <ianb at colorstudy.com> wrote in message
news:mailman.1057300149.8085.python-list at python.org...
> On Fri, 2003-07-04 at 00:59, Stan Cook wrote:
> > Is there a way to get the file size and modified date of a file?
>
> os.stat(filename).st_size and os.stat(filename).st_mtime
>
>   Ian
>
>
>






More information about the Python-list mailing list