Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Python
set DOS environment variable
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
bill
#1
set DOS environment variable
Oct 2 '08, 03:25 PM
Hi all,
Can Python set a DOS environment variable?
TIA,
Bill
Dan Upton
#2
Oct 2 '08, 03:35 PM
Re: set DOS environment variable
On Thu, Oct 2, 2008 at 11:18 AM, bill <wgrigg@draper. comwrote:
Hi all,
>
Can Python set a DOS environment variable?
>
TIA,
>
Bill
I'd look at
http://www.python.org/doc/2.5.2/lib/os-procinfo.html
. It
looks like putenv should do what you want. It might only affect the
current process and things started from it using Popen, though.
-dan
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment