Setting Environment Variables
From: Greg Lindstrom (greg.lindstrom_at_novasyshealth.com)
Date: 10/20/04
- Next message: Grant Edwards: "Re: Setting Environment Variables"
- Previous message: Hans Nowak: "Re: String changing on the fly"
- Next in thread: Grant Edwards: "Re: Setting Environment Variables"
- Reply: Grant Edwards: "Re: Setting Environment Variables"
- Reply: Peter Hansen: "Re: Setting Environment Variables"
- Reply: Alex Martelli: "Re: Setting Environment Variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <python-list@python.org> Date: Wed, 20 Oct 2004 15:07:17 -0500
Hello-
I am running python 2.3. on an HP-9000 box running Unix and have a POSIX
script that sets up my production environment. I would like to run the
script from inside a python routine and pick up the environment variables
but am having trouble getting it done. Suppose the script is called
setprod. How can I call this from inside a python script then pick up the
env's later in my program? I've tried os.system ('setprod') and
os.system('. setprod'), but neither seemed to work.
Thanks for your help,
--greg
Greg Lindstrom (501) 975-4859
NovaSys Health greg.lindstrom@novasyshealth.com
"We are the music makers, and we are the dreamers of dreams" W.W.
- Next message: Grant Edwards: "Re: Setting Environment Variables"
- Previous message: Hans Nowak: "Re: String changing on the fly"
- Next in thread: Grant Edwards: "Re: Setting Environment Variables"
- Reply: Grant Edwards: "Re: Setting Environment Variables"
- Reply: Peter Hansen: "Re: Setting Environment Variables"
- Reply: Alex Martelli: "Re: Setting Environment Variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|