欢迎访问!

Office学习网

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

网络技术

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

发布时间:2026-10-15网络技术次评论
以下内容是CSDN社区关于python: can#39;t open file #39;hello.py#39;: [Errno 2] No such file or directory相关内容,如果想了解更多关于

输入cd desktop 3. 运行hello.py,。

输入python hello.py 但结 ,过程很简单 1.在桌面建立一个文本文档hello.py,要把文件属性改为py 2.在DOS中进入桌面, 本人系统:win7 python版本:3.8 自己通过视频学习python的时候遇到的第一个问题就是: python: can't open file 'hello.py': [Errno 2] No such file or directory, 就是通过终端命令方式的去运行自己写在文本文档里的数据。

广告位

热心评论

评论列表