We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1514054 commit 39d50f3Copy full SHA for 39d50f3
Python/Python-Environment-Variables/env_vars.py
@@ -0,0 +1,7 @@
1
+import os
2
+
3
+db_user = os.environ.get('DB_USER')
4
+db_password = os.environ.get('DB_PASS')
5
6
+print(db_user)
7
+print(db_password)
0 commit comments