Load Environment Variables From .env Files
Umgebungsvariablen richtig & sicher setzten (Pycharm)
See also Python Desing Guide Tipps
<aside> 💡 Dealing with configuration management neatly in your project is going to save you a lot of time. Define all your settings in a single place. It can also be a collection of files but they should be in a single space and you load and apply them in your single file. Structure your settings and add comments. It should be clear to the reader, what parameters can be changed in the project. The reader should not be forced to find these parameters somewhere in the middle of your code!
</aside>