List all environment variables on a computer

Script from Microsoft. Lists all environment variables on a computer.

2 Replies to “List all environment variables on a computer”

  1. My IDLE python shell doesn’t have the requisite module. Is “import os” a substitute? If so how do I redefine some of the variables?

    1. I dont understand. There is no "import os" in the script. If its a general question, the os-module is available in the Python standard package.

Leave a Reply