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