Thonny is useful for running your scripts as well as creating them, so here you’re going to see how to run a basic script. Here’s a script you can save as first.py
:
print('Hello World!')
You can click the button with the arrow in the circle or press F5 to run the script. In the bottom windown, which is the shell, you’ll see a command to run first.py
along with the script’s output.