Setting Up a Python Project
Kristian M. Rother · Apress eBooks · 2017
When we started writing a small program from scratch, we did not worry much about organizing files. We simply collected everything in the same place, and that was fine. The MazeRun game started with a few Python files and a few images. But as the project grew, other files started accumulating. We already have seen various input and output files, tests, test data, configuration files, documentation, and of course more Python modules. How to organize these files properly? And how can we keep dependencies on external Python modules in check? Realizing that only a part of the software consists of code, what are Best Practices for organizing files and structuring a Python project in general? These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.