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

Mark Bystry mabystry at verizon.net
Thu Feb 15 20:21:57 CET 2007


Well, immediately I am having problems. Be patient with me.

This what I have...

copy_file.py
############################################

import os
import shutil as sh

sh.copy('C:\testing_it.txt', 'D:\')
raw_input("Done!")

############################################

...and it's not working. Obviously, I'm trying to copy a text file on C:\ to D:\.


More information about the Tutor mailing list