windows environment variables with python code example Example: print environment variables windows python import os print(os.environ)