Python store passwords ect

Hi, I'm looking for the way to store passwords for api used in 2 scripts. Both scripts are starting with same variables declaration, I just want to store the in one file and include in this 2 scripts, but don't know what is the best practices commonly used for this.
When I'm just creating "Env.py" with this vars and making "import Env", this variables are just not being seen inside scope of this scripts.
Also, I've tried to use env python module, creating .env, but don't know how to retrieve them inside scripts.

Thanks
 
Back
Top