欢迎访问!

Office学习网

您现在的位置是:主页 > 网络技术

网络技术

python: can#39;t open file #39;test.py#39;: [Errno 2] No suc

发布时间:2026-10-15网络技术次评论
以下内容是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 open file 'Test001.py': , 在当前目录下, C:\python Test001.py python: can't open file 'Test001.py': [Errno 2] No such file or directory 如果指定了文件的全路径,运行位于另外一个目录的py文件。

广告位

热心评论

评论列表