A minimal, tested Python Hello World example.
Find a file
2026-08-24 22:22:20 +08:00
.gitignore Add tested Python Hello World example 2026-08-24 22:22:20 +08:00
hello_world.py Add tested Python Hello World example 2026-08-24 22:22:20 +08:00
README.md Add tested Python Hello World example 2026-08-24 22:22:20 +08:00
test_hello_world.py Add tested Python Hello World example 2026-08-24 22:22:20 +08:00

Python Hello World

A minimal Python project demonstrating a reusable greeting function, a command-line entry point, and dependency-free unit tests.

Run

python3 hello_world.py

Expected output:

Hello, World!

Pass a name to customize the greeting:

python3 hello_world.py Dirk

Test

python3 -m unittest -v