Cannot copy file from a remote machine using shutil
问题 I need to copy a file from a remote machine. The code is something like this import shutil shutil.copyfile('//XXX.XXX.XXX.XXX/home/Shares Folder/file.txt','/home/file.txt') the location of the file is a shared folder but everytime I run this it gives me this error File "", line 1, in ? File "usr/lib/python2.4/shutil.py", line 47, in copyfile frsc = open (src,'rb') IOError: [Errno 2] No such file or directory : '//XXX.XXX.XXX.XXX/home/Shares Folder/file.txt' Please take note that I'm running