Forums

How do I run my python. (Need tips for python- I'm a beginner)

I'm new to python, and even newer to pythonanywhere. I opened a file and only wrote: print("Hello World"). I don't really know how to run it, just to see it work. I've used other things to write and run code. I can't remember what all I've worked with, but I think on sololearn and idk where else. I'm a beginner and would really love any tips.

There are multiple ways of running your Python code on PythonAnywhere (you can run it as a task or web app, or in a notebook -- some of those features require a paid account). But the simplest way -- just to evaluate a code that is in a script, is to run the from a Bash console / in a Python console, or -- if you want to use the in-browser editor -- by using the Run button in the editor.