IDLE Python and Environment Variables

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Jan 11 17:19:42 EST 2007


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']=value
See http://docs.python.org/lib/os-procinfo.html


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list