Files in unix and windows

Travis James Kleeburg kleeburg at cs.ucdavis.edu
Fri Aug 20 17:49:10 EDT 2004


I am trying to copy files from one directory into another using 
shutil.copy. I am having a problem getting a usable path using 
os.path.abspath because it doesnt return a string with the extra 
backslashes and i was wondering if there was a better system call to use? 
I am also looking for a system call so there wont be a problem between windows and 
unix.





More information about the Python-list mailing list