最佳答案
刚开始学习 Python,我遇到了一个问题,如下所述:
a_file = open('E:\Python Win7-64-AMD 3.3\Test', encoding='utf-8')
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
a_file = open('E:\Python Win7-64-AMD 3.3\Test', encoding='utf-8')
PermissionError: [Errno 13] Permission denied: 'E:\\Python Win7-64-AMD 3.3\\Test\
似乎是一个文件许可错误,如果任何人可以发出一些光将非常感谢。
注意: 不确定 Python 和 Windows 文件是如何工作的,但我以管理员身份登录到 Windows,该文件夹具有管理员权限。
我已经尝试将 .exe属性更改为作为 Admin 运行。