About 512,000 results
Open links in new tab
  1. How to set environment variables in Python? - Stack Overflow

    I need to set some environment variables in the Python script and I want all the other scripts that are called from Python to see the environment variables' set. If I do, os.environ["DEBUSSY&q...

  2. Adding Python to PATH on Windows - Stack Overflow

    Closed 9 months ago. I've been trying to add the Python path to the command line on Windows, yet no matter the method I try, nothing seems to work. I've used the set command, I've tried adding it …

  3. How do I add Python to the Windows PATH? - Super User

    For Windows 10/8/7: Open System Properties (Right click Computer in the start menu, or use the keyboard shortcut Win + Pause) Click Advanced system settings in the sidebar. Click Environment …

  4. python - How to add to the PYTHONPATH in Windows, so it finds my ...

    Sep 13, 2010 · I want to add this directory to my PYTHONPATH so I can call the apps directly. I tried adding C:\My_Projects\; to my Windows Path variable from the Windows GUI (My Computer > …

  5. How can I access environment variables in Python?

    How can I get the value of an environment variable in Python?

  6. How to set environment variables in PyCharm? - Stack Overflow

    Mar 10, 2017 · The two most-upvoted answers tell you how to set environment variables for PyCharm Run/Debug Configurations - manually enter them in "Environment variables" or use EnvFile plugin.

  7. How to set environment variables in python when using vscode

    Dec 5, 2023 · The file is identified by the default entry "python.envFile": "$ {workspaceFolder}/.env" in your user settings When running in a production environment, the the script will still read the …

  8. python - setting an environment variable in virtualenv - Stack Overflow

    Mar 4, 2012 · I have a Heroku project that uses environment variables to get its configuration, but I use virtualenv to test my app locally first. Is there a way to set the environment variables defined on the ...

  9. Why would I add python to PATH - Stack Overflow

    Jan 20, 2016 · PATH is an environment variable on linux machines, if you add python to it, you will be able to call it simply by "python" or "python3". If you dont add, you will have to use the "real" location.

  10. python - how to set pip environment path? - Stack Overflow

    Jan 13, 2019 · inspect Inspect the python environment. list List installed packages. show Show information about installed packages. check Verify installed packages have compatible …