Added
A team ships a Python application as a package named `acme`, with a nested module `acme.reports.csv`. During development, a script launched from the repository root imports `csv` successfully, but the deployed program fails when it tries to import a helper using `from reports import formatter`. The helper is located beside `csv.py` under `acme/reports`, and the package directories contain `__init__.py` files. The application must be runnable from different working directories without modifying global environment settings. Which change best fixes the import while preserving the package structure?
Using `from acme.reports import formatter` names the module through its package hierarchy, so its resolution does not depend on the process working directory. Adding a repository path to `sys.path` couples deployment to a particular layout and still leaves the import ambiguous. Renaming the directory discards the existing package namespace rather than fixing qualification. Moving the helper to the working directory makes the import dependent on how the program is launched.