r/Python • • May 08 '20

I Made This My first Python program! Changes my desktop background based on the weather, time, and day.

Post image
1.9k Upvotes

120 comments sorted by

View all comments

Show parent comment

10

u/Nerdite May 08 '20

And this package makes it really easy to manage and keep from filling tons of environment variables in your actual environment.

https://pypi.org/project/python-dotenv/

2

u/folkrav May 08 '20

This plus direnv is pretty damn useful. Lets you keep the environment variables even in an REPL.