[Tutor] Convert my .bat and .vbs to .py
Tim Golden
mail at timgolden.me.uk
Thu Feb 15 18:22:43 CET 2007
Mark Bystry wrote:
> The first things that I want to learn is how to do basic stuff like copying, moving, and deleting
> files around from folder to folder. I have been in the help section of python (copyfile section)
> but I do not understand what I am doing wrong.
Welcome to Python. You probably want to look at the shutil
module, possibly combined with the os module:
http://docs.python.org/lib/module-shutil.html
http://docs.python.org/lib/os-file-dir.html
TJG
More information about the Tutor
mailing list