My sample project, based on Structuring Your Project and Python Best Practices – Every Python Developer Must Know.
Calling the __main__
of the module:
python module.py
or
calling the main()
function of the module:
python module_alt.py
or calling the module:
python -m module
pytest