"Artur Bercik" <vbubbl...@gmail.com> wrote:

I have to set several variables so it would be easier if I could set them
from Python.

You can write a Python-script that generates a .bat file (in your %TEMP-dir?).
And run this .bat file when Python ends. Put it all in an alias or another .bat
file. E.g. untested:
alias set_env=python <your-script> -o %TEMP%\set_env.bat & %TEMP%\set_env.bat

--gv

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to