A minimal, tested Python Hello World example.
- Python 100%
| .gitignore | ||
| hello_world.py | ||
| README.md | ||
| test_hello_world.py | ||
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