Back to Browse

How to work with Environment Variables in Python

1.3K views
May 21, 2021
5:44

Environment Variables are a great way to store secrets like Keys, IDs, connections, and more. They are commonly used in Continuous Integration and Deployment (CI/CD), so it's good to have a standardized way for everyone on the team to work with them. In this video, I show you how to use python-dotenv and the .env file to store your Environment Variables, load them, and use them throughout your code. By the end of the video you should have everything you need to start working with Environment Variables in Python :) As always, hit me up with any comments, questions or other ideas you'd like me to cover @CarlosKidman

Download

1 formats

Video Formats

360pmp48.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to work with Environment Variables in Python | NatokHD