Skip to content

Instantly share code, notes, and snippets.

@hackcasual
Created January 25, 2017 18:19
Show Gist options
  • Save hackcasual/b7839a8797ee76196d58e6ad3f157308 to your computer and use it in GitHub Desktop.
Save hackcasual/b7839a8797ee76196d58e6ad3f157308 to your computer and use it in GitHub Desktop.
import os, sys
from __future__ import print_function
with open(r"d:\env_dump.txt", "w") as outf:
print(os.environ, file=outf)
print(sys.path, file=outf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment