BRUNNING PROGRAMS

Image

If you have a program open in Mu, running it is a simple matter of pressing F5 or clicking the Run button at the top of the window. This is an easy way to run programs while writing them, but opening Mu to run your finished programs can be a burden. There are more convenient ways to execute Python scripts, depending on which operating system you’re using.

Running Programs from the Terminal Window

When you open a terminal window (such as Command Prompt on Windows or Terminal on macOS and Linux), you’ll see a mostly blank window into which you can enter text commands. You can run your programs from the terminal, but if you’re not ...

Get Automate the Boring Stuff with Python, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.