以下内容是CSDN社区关于python: can#39;t open file #39;test.py#39;: [Errno 2] No such file or directory相关内容,如果想了解更多关于脚
但是仍然报错,。
运行正常 C:\python c:\testdir\Test001.py this is a test 我试图将c:\testdir加入到系统环境变量PATH里,can't openfile 'Test001.py': , 在当前目录下, C:\python Test001.py python: can't openfile 'Test001.py': [Errno 2] No such file or directory 如果指定了文件的全路径,运行位于另外一个目录的py文件。
评论列表