IDLE Python 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???

.



Relevant Pages

  • Re: Installing WebDAV server
    ... sh-based UNIX/Linux shell prompt). ... But never with Python, so I hadn't got a clue about the prompt. ... OSes have command shells, too, you know; they are just named and run ... Look for the Windows version. ...
    (comp.lang.python)
  • Re: ann: servicestation - run your linux/mac services on windows without needing pywin...
    ... isn't written in Python, I did write it with python in ... released under the CDDL license. ... on windows, but don't want to learn much/anything about windows service ... Monitoring the command its running and keeping it alive. ...
    (comp.lang.python)
  • Re: newbie question
    ... Python is fun and it's easier to use a real OS to develop the programs, ... Grant it I am a command line junky, ... "The script can be given a executable mode, or permission, using the ... the above seems to me like you are useing windows. ...
    (comp.lang.python)
  • RE: Using command line args on Windows
    ... Go to a command prompt. ... type python and you have the command line shell you know and love. ... Using command line args on Windows ...
    (comp.lang.python)
  • Re: Code not work - DESPERATE HELP :(
    ... put they 'python' keyword infront. ... It only occurs when a program is executed indirectly using the file associations instead of directly via the command line. ... are the Windows "let's do it a different way" ...
    (comp.lang.python)