[Tutor] File Attributes

Jörg Wölke lumbricus@gmx.net
Wed, 14 Mar 2001 06:09:45 +0100 (MET)


> I know that os.stat(fd) will return a tuple of integers about a file. 
> Two of the numbers are the date it was accessed last and last
> modification.  Is there a way to find out when a file was created?
> 
>  - Tim
> 

Files don't celebrate Birthdays (never ever) -- it isn't stored anywhere

It wouldn't make sense anyway.
What birthday has the source of your kernel?
Is a copy a new file ...

> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
Sent through GMX FreeMail - http://www.gmx.net