为什么这个python脚本会抱怨语法?
File "github-wiki-auditor.py", line 36
print "[*] Exiting - {0} is not a valid accounts input file.".format(accountsFile)
^
SyntaxError: invalid syntax
完整的python脚本。https:/github.comSmeegeSecGitHub-Wiki-Auditorblobmastergithub-wiki-auditor.py
你使用的是类似于Python 2.x中的print函数,在Python 3.x中只需做如下操作
print("[*] Exiting - {0} is not a valid accounts input file.".format(accountsFile))