python: WindowsError

    收集python下几个常出现的WindowsError.

  • WindowsError: [Error 2] The system cannot find the file specified
  • WindowsError: [Error 3] The system cannot find the path specified
  • WindowsError: [Error 5] Access is denied
  • WindowsError: [Error 13] The process cannot access the file because it is being used by another process
  • WindowsError: [Error 32] The process cannot access the file beacause it is being used by another process.
  • WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect
  • WindowsError:[Error 145]      目录非空,多在删除非空目录时出现
  • WindowsError: [Error 183] Cannot create a file when that file already exists

可参考:https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx

原文地址:https://www.cnblogs.com/skyer/p/4461391.html