deleting files

Steve Purcell stephen_purcell at
Mon Feb 26 06:11:55 EST 2001

James Lockley wrote:
> 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)

You want:



Steve Purcell, Pythangelist
Get testing at
Get servlets at
"Even snakes are afraid of snakes." -- Steven Wright

More information about the Python-list mailing list