Ben Finney <ben+pyt...@benfinney.id.au> writes: >> bash# /usr/bin/python sample.py >> File "sample.py", line 2 >> name = "blah" >> ^ >> SyntaxError: invalid syntax > > Indentation is syntax in Python.
At least here with Python 2.5.2 I get "IndentationError: unexpected indent". I'm just wondering why would the OP get a SyntaxError? -- http://mail.python.org/mailman/listinfo/python-list