GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — New Code Snippets · FOUR-K/code_snippets@39d50f3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Python/Python-Environment-Variables
    • env_vars.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Python/Python-Environment-Variables/env_vars.py‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.