Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, save the code in a hello_world.py
file and use the python
command to execute it.
Sometimes we’ll want to build our programs into executables. While Python is an interpreted language, we can still create standalone executables using tools like PyInstaller
.
First, install PyInstaller
and then package the script into an executable:
We can then execute the generated binary directly.
Now that we can run and build basic Python programs, let’s learn more about the language.