How to Use Python Environment Variables

Опубликовано: 03 Ноябрь 2022
на канале: Dave Ebbelaar
12,020
260

In this data science quick tip video, I will show you how to keep secrets and configurations out of version control with python environment variables. We will store these variables in a special file, and then, we use the python dotenv package to load the environment variables in our script.

🕑 Timestamps
00:00 Introduction
00:23 Store environment variables
01:19 Load environment variables
03:20 Update gitignore file

💡 VS Code Tips for Data Science
   • 17 VS Code Tips That Will Change Your...