开发者

Copying files from temporary internet cache in python

I'm copying files from the temporary internet files cache into a folder, in bulk using a python script. Using shutil to copy the full path to the os.cwd, it comes up with this error:

builtins.IOError开发者_运维百科: [Errno 22] Invalid argument:  
'C:\\Users\\NICK\\AppData\\(no whitespace in path; only for readability)
Local\\Microsoft\\Windows\\(no whitespace in path; only for readability)
Temporary Internet Files\\CONTENT.IE5\\04HT8Z5C\\024MS[1].png\\'

Is it because these files are hidden or something?


There is a backslash at the end of your file name so it is maybe treated as a path.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜