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