1
我使用Python 2.5。並有一個問題,shutil.moveshutil.move - > WindowsError:[Error32]進程無法訪問文件
print(srcFile)
print(dstFile)
shutil.move(srcFile, dstFile)
輸出:
c:\docume~1\aaa\locals~1\temp\3\tmpnw-sgp
D:\dirtest\d\c\test.txt
...
WindowsError: [Error32] The process cannot access the file because it is being used by
another process: 'c:\\docume~1\\aaa\\locals~1\\temp\\3\\tmpnw-sgp'
我用它的Windows 2003 Server上。
那麼,這裏有什麼問題?有人知道嗎?
最好的問候。