file modification esoterica

Carsten Gaebler clpy at snakefarm.org
Sat Jul 20 03:05:12 EDT 2002


Grant Griffin wrote:


> Second, what is the best way to "touch" a file, that is, update its modification
> time or "mtime" to the current time?


How about os.utime()?

cg.




More information about the Python-list mailing list