I am aware about the os module. But it only sets the variables for that program. I want to set system variables such that they are visible in the Environment Variables menu of the computer.
Asked
Active
Viewed 34 times
1
sshashank124
- 29,826
- 8
- 62
- 75
Apoorva Singh
- 13
- 3
-
This might help - https://stackoverflow.com/questions/38982640/set-shell-environment-variable-via-python-script/38982936#38982936 – anuragal Jan 14 '20 at 06:38