Files in unix and windows
DesertLinux at netscape.net
Sat Aug 21 15:48:45 CEST 2004
You want to use forward slashes with your file names. Backslashes are
used for special character commands, such as "/t" for <tab>, etc.
For Unix / Linux
If you need a relative path, with no drive specified (for Windows), use:
Hope this helps,
Travis James Kleeburg wrote:
> 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
More information about the Python-list