小白第一开始学习Python,第一个项目就错了,写一篇纪念一下哈哈哈哈

查阅资料原因很简单:

新建了一个hello.py文件在D:/python/test下

Python3.5安装后的第一个错误File "<stdin>", line 1

使用C:\Program Files\Python35安装好的python.exe应用程序运行命令:

"C:\ProgramFiles\Python35\python.exe" D:/python/test/hello.py是运行不出来的啦!!!!!!!

"C:\ProgramFiles\Python35\python.exe" D:/python/test/hello.py这句命令应该使用Win+R 打开cmd运行,

Python3.5安装后的第一个错误File "<stdin>", line 1 cmd是无法直接运行python语句的,而python.exe是可以直接运行python语句的:

Python3.5安装后的第一个错误File "<stdin>", line 1

相关文章:

  • 2022-01-17
  • 2021-05-16
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2018-08-27
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 1970-01-01
相关资源
相似解决方案