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 hello_world.py
and use the python
command.
Sometimes we’ll want to build our programs into standalone executables. While Python is typically interpreted rather than compiled, you can use tools like PyInstaller
to create executables.
First, install PyInstaller:
Then, create the executable:
We can then execute the built binary directly.
Now that we can run and build basic Python programs, let’s learn more about the language.