471,573 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,573 software developers and data experts.

A question about IDLE and environment variables

Hello community:
I post this because I could not find satisfactory answers in the posts
generated by this nice group.
I work on winXP. I have many little python applications in different
folders, each application can share or not other objects located in the
same or other folders.
The way I work to use these applications is:
1) For almost everyone, I execute a corresponding ".bat file" into
which I define and/or include values for some "temporal"
environment variables that let me find all the objects that the
selected application uses. Sometimes I include in the .bat file the
execution of the application, but generally I leave in a prompt status,
ready to invoke python or some dos commands.
2) When I close the command prompt window, there are no traces of my
enviroment variables in my windows system (that is right). Only the
default windows environment variables remain.

I tried to do the same with the IDLE (and I imagine tha same occurs
with Python command line), but I have the next problem:
I can not find in IDLE (or another app?) the way to previously define
and/or include automatically values for my "temporal" environment
variables as I do in the .bat files. The use of Control Panel -System
-Advanced is tedious to use as, my enviroment variables values are
"temporal".
Any advice, please???

Jan 9 '07 #1
0 1100

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by M Wells | last post: by
16 posts views Thread by Kerry Neilson | last post: by
4 posts views Thread by Sven Erik Knop | last post: by
19 posts views Thread by Frank Rizzo | last post: by
5 posts views Thread by heidi.hunter | last post: by
reply views Thread by staham | last post: by
3 posts views Thread by Tristan | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.