Structuring a Python application
In this short article I will explain all the different ways of structuring a Python application, from a quick script to a more complex web application.
Single python file containing all the code
That’s okay for code without dependencies or using a virtual environment. This is generally used for a quick script that doesn’t need complexity in its file structure.