Re: IDLE Python and Environment Variables

2007-01-11 Thread Gabriel Genellina
At Thursday 11/1/2007 11:45, Tristan wrote: I considered to use it, thanks!! Incidentally (beg your pardon if it sounds to ignorance), can I define Environment variables in a config file and then apply to my python program? Yes, read them from the config file and then use os.environ['name']=v

Re: IDLE Python and Environment Variables

2007-01-11 Thread Tristan
Thanks Gabriel. > What kind of environment variables? Those used by Python itself, like > PYTHONPATH? Or your own variables, like FOO_LOCATION=C:\My\Projects\Lib\Foo I need to add to PYTHONPATH and other enviroment variables asked, for example, by DJANGO or other python products. > It appears th

Re: IDLE Python and Environment Variables

2007-01-10 Thread Gabriel Genellina
At Wednesday 10/1/2007 23:24, Tristan wrote: 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 .ba

IDLE Python and Environment Variables

2007-01-10 Thread Tristan
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 t

IDLE Python and Environment Variables

2007-01-10 Thread Tristan
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 t