A minimal Python program that prints Hello World! to the terminal. It serves as a test and reference for the
basic elements of a simple Claude Code Python repository.
The message has one new line before it and a blank line left after it.
hello-world/
├── main.py Program entry point.
├── application.py Application class definition.
├── run.sh Shell launcher that runs main.py.
├── requirements.txt Dependency manifest (standard library only).
├── README.md This file.
├── CLAUDE.md Claude Code project instructions.
├── LICENSE MIT license text.
└── .gitignore Git ignore rules.
The program is split into two files:
application.pyholds a single class,Application, which exposes a single method,run, that printsHello World!to the terminal.main.pyholds themainfunction, which creates a new instance ofApplicationnamedapplication, and then callsapplication.run.
- Python 3.x (uses only the standard library — no third-party packages required).
Run the program from the project root:
python main.pyOr use the launcher script, which can be invoked from any directory:
./run.shHello World!
The blank line above the message is the single new line before the Hello World! string, and the blank line
below it is the new line left after the message.
This project is licensed under the terms of the MIT License. See LICENSE for details.