The Simplest Python Script¶
print("Hello world")
A Python script is a file with the .py
suffix. It can be run by calling
python3 path/to/script.py
.
In our case
Shell¶
python3 src/basics/1/simple.py
print("Hello world")
A Python script is a file with the .py
suffix. It can be run by calling
python3 path/to/script.py
.
In our case
python3 src/basics/1/simple.py