deleting files

James Lockley j_lockley at hotmail.com
Mon Feb 26 05:53:50 EST 2001


hi

i want to delete a file created after a particular time ( ie something like
if os.path.getmtime(file)>t0: <delete(file>)
i've looked through shutil and can't find anything to use... (i don't want
to delete tree so rmtree is of no use)

thanx in advance
james





More information about the Python-list mailing list