python in windows get environment variable code example Example: print environment variables windows python import os print(os.environ)