Forums

Getting Started ...

Hi,

I am a newbie and could not get the "hello world" going. I do know a bit of Python but could not figure out the "python anywhere" environment. This is what I have done so far:

  1. Saving a .py file
  2. Invoking a 2.7 Bash
  3. Trying to run it ...

python2.7 test.py File "<stdin>", line 1 python2.7 test.py ^ SyntaxError: invalid syntax

I will appreciate any help.

Thanks /

That's not a Bash console, that's a Python console and Bash syntax is not valid in Python. Start a Bash console (it's actually labelled Bash next to "Other:" on your Dashboard)