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