K
ken
how can I find out the value of an environment variable in my pythong
script?
Thank you.
script?
Thank you.
how can I find out the value of an environment variable in my pythong
script?
Thank you.
ken said:how can I find out the value of an environment variable in my pythong
script?
'C:\\WINDOWS\\system32;c:\\WINDOWS;c:\\WINDOWS\\System32\\Wbem;c:\\bin;e:\\bin'>>> import os
>>> os.environ['PATH']
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.