If you import os, os.path, and shutil (only the ones you need, although I wind up using all three for this sort of task), you can do all that you have in mind and more.
os.path opens up some pretty painless methods for doing things like testing to make sure the file exists in a given location before copying it (or deleting it), which can save a good bit of heartache. shutil can be used for not only copying files, but even copying entire directory trees. -Rob A. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor