windows 10 env python path code example Example: python set windows environment variable os.environ['API_PASSWORD'] = 'secret'