In Python program we can set system environment variables by using os.environ. For example,
But there is a problem that the variable will be disappear after the Python program exits because the variable is owned by the Python program.
The following way can solve the problem to create an environment variable with Python and share it with other programs.
-Count
The following way can solve the problem to create an environment variable with Python and share it with other programs.
-Count