Use
- Write code in an interactive session from a terminal.
- Write a Python module (
py-file). And run it with:- Command line in a terminal
- IDE
- Run
Interactive Session
- In a terminal, type
pythonorpython3, depending on the settings on your computer. And start coding. - Type
exit()to exit the interactive session.

Write Python Module
In Terminal
Text editor in terminal, like vim.

Plain Text Editor
Plain text editor, like Windows Notepad.

IDE
IDE: Integrated Development Environment
- Syntax high-lighting
- Code formatting and analysis
- Run and debug
Run
Command Line
- Write the hello-world file and use the file name
hello_world.py. -
In a terminal, navigate to the directory where this file is stored, type the command
Note
<...>is a placeholder.

IDE
Click the Run button on an IDE.
