Watch yourself on this one, slocate can often return some unexpected results 
for file searches, and the last thing you want to do is delete something 
important while trying to remove the latest game you installed. 

Also, if you're installing from source you can often run "make uninstall" to 
remove the installed files. 

And finally, the Vinay's suggestion of a simple one liner shell script is much 
simpler and probably as fast or faster than anything you come up with in 
Python.

Just figured I'd lend some words of warning to you as someone who's made 
similar mistakes in the past ;)

-Jay

On Sunday 14 August 2005 6:33 am, joe_schmoe wrote:
> The basic idea I was toying around with is to create a delete/uninstall
> program that would take the output of slocate and iterate through that
> deleting all of the files associated with the program
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to