我正在使用网站“https://www.python.org/”中的“python3.5”,当我试图运行HVS提供的程序时,它不起作用。你知道吗
C:\Users\sdixit23>python C:\Users\sdixit23\AppData\Local\Programs\Python\Python35-32\Shyam\NotWorking\restfulclient2.py
File "C:\Users\sdixit23\AppData\Local\Programs\Python\Python35-32\Shyam\NotWorking\restfulclient2.py", line 26 print key + " : " + jData[key] ^
SyntaxError: Missing parentheses in call to 'print' C:\Users\sdixit23>
你能分享另一个版本的restfulapi吗。你知道吗
你也可以:
-添加错误提示的括号或
-使用python2就像脚本在第一行中所说的
#Python 2.7.6
你可以试着加上括号。在python中,3是必需的
相关问题 更多 >
编程相关推荐