On Sun, Mar 15, 2009 at 10:24 PM, venutaurus...@gmail.com <venutaurus...@gmail.com> wrote: > Hi all, > I have to write an application which does a move and copy of a > file from a remote machine to the local machine. I tried something > like: > > file = ur"\\\\venuwin2008\\C\\4Folders\\Folder02\\Folder002\ > \TextFile_06.txt"
The 'r' prefix on the string makes it a raw string, meaning you don't have do double-up the backslashes, but you did so anyway, so your path has many extra backslashes, making it invalid. Dropping the 'r' prefix should fix the problem. Cheers, Chris -- I have a blog: http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list