Forums

Noob Question - How to run a file?

Hello,

I am learning Python with Learn Python The Hard Way. I am on ex13 and need to execute a file using console instead of wondows command line. http://learnpythonthehardway.org/book/ex13.html

In the instructions he says to enter $ python ex13.py first 2nd 3rr What would be an equivalent command in PythonAnywhere console?

Thanks in advance,

eastern

Hi eastern -- you can do that from a Bash console, which you can start from your "Consoles" tab. One possibly non-obvious thing to look out for -- the $ sign is just there to tell you that you enter it into Bash. You don't type it in.