Skip to content

Instantly share code, notes, and snippets.

@chadmayfield
Created June 14, 2016 03:28
Show Gist options
  • Save chadmayfield/ef535de7d1fa10623aac4aba3ffcca41 to your computer and use it in GitHub Desktop.
Save chadmayfield/ef535de7d1fa10623aac4aba3ffcca41 to your computer and use it in GitHub Desktop.
Print env in python
#!/usr/bin/python
import os
for param in os.environ.keys():
print "%20s %s" % (param,os.environ[param])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment