python 执行报错

PS F:\python\Python-Core-50-Courses-master\learn_python> python hello world.py  
C:\Users\huawei\AppData\Local\Microsoft\WindowsApps\python.exe: can't open file 'F:\\python\\Python-Core-50-Courses-master\\learn_python\\hello': [Errno 2] No such file or directory

不加引号提示找不到引号 。

加引号执行

PS F:\python\Python-Core-50-Courses-master\learn_python> python "hello world.py"
hello world

 

posted on 2022-11-22 13:54  kevin_yang123  阅读(33)  评论(0编辑  收藏  举报