python第一个程序hello world出现问题怎么解决
本帖最后由 luotaoxy2003cc 于 2019-8-5 13:09 编辑出现这种问题
Windows Powershell
PS C :\ UsersAdministrator \ Desktop)python .exe
Python 3 .7.4 ( tags/v3.7.4:e09359112e ,Jul 8 2019 ,20 :34 :
Type help ,copyright ,credits or license for more
> )1111111111111111111+1 1111111111111111112
python .exe 01 .py
File "<stdin)",linepython .exe 01 .py
SyntaxError :invalid syntaxpyt >>
hot
Windows Powershell
PS C :\ UsersAdministrator \ Desktop)python .exe
Python 3 .7.4 ( tags/v3.7.4:e09359112e ,Jul 8 2019 ,20 :34 :
Type help ,copyright ,credits or license for more
> )1111111111111111111+1 1111111111111111112
python .exe 01 .py
File "<stdin)",linepython .exe 01 .py
SyntaxError :invalid syntaxpyt >>
hot
输python.exe o1.py 。文本内容print('hello w保存类型-u8命名为01.py python运行还是提示错误。求教。 print('hello world') 本帖最后由 luotaoxy2003cc 于 2019-8-5 13:12 编辑
新手·ing 发表于 2019-8-5 12:48
print('hello world')
出现这种问题
Windows Powershell
PS C :\ UsersAdministrator \ Desktop)python .exe
Python 3 .7.4 ( tags/v3.7.4:e09359112e ,Jul 8 2019 ,20 :34 :
Type help ,copyright ,credits or license for more
> )1111111111111111111+1 1111111111111111112
python .exe 01 .py
File "<stdin)",linepython .exe 01 .py
SyntaxError :invalid syntaxpyt >>
hot
Windows Powershell
PS C :\ UsersAdministrator \ Desktop)python .exe
Python 3 .7.4 ( tags/v3.7.4:e09359112e ,Jul 8 2019 ,20 :34 :
Type help ,copyright ,credits or license for more
> )1111111111111111111+1 1111111111111111112
python .exe 01 .py
File "<stdin)",linepython .exe 01 .py
SyntaxError :invalid syntaxpyt >>
hot
输python.exe o1.py 。文本内容print('hello world')保存类型-u8命名为01.py python运行还是提示错误。求教。 打开 IDLE FOR WINDOWS :
再命令行下输入(dos提示符) cmd 模式啥的
页:
[1]