その可能性もありそうですが・・・エラーメッセージは、

  File "spam.py", line 2
SyntaxError: 'bad argument type for built-in operation'

なんですよね。二行目に問題があるらしいです。謎。