Created
May 14, 2016 13:44
-
-
Save iangow/ceb8d6fae67f19d6030c4cef55ff8222 to your computer and use it in GitHub Desktop.
Code snippet to test environment variables in Python.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
print(os.environ['PGHOST']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment