我刚刚下载并安装了Python 3.5.2,我有两个python文件,我想从CMD运行但是我遇到了问题
SyntaxError: Missing parentheses in call to 'print'
问题代码为:
print '####### ' + modulename
###########################################################
def sqlihunt(dork , filename ):
答案 0 :(得分:1)
python 3中的print语句需要括号。
例如:print(whatever you want to print goes here)