[Tutor] Convert my .bat and .vbs to .py

Eric Walstad eric at ericwalstad.com
Thu Feb 15 18:36:48 CET 2007


Hey Mark, welcome aboard!

There are a few different approaches you could take to convert your
scripts.  If most of your scripts are related to copying/moving files,
I'd have a look at Python's shutil module.  I think it'll work in both
Windows and Linux but I don't have a Windows machine handy to test it.

<http://docs.python.org/lib/module-shutil.html>

Have fun,

Eric.


More information about the Tutor mailing list