Python problem

Vogel Christopher N Contr AFRL/SNAA Christopher.Vogel at wpafb.af.mil
Fri Mar 17 16:24:15 EST 2000


> I have a Python problem, and do not have newsgroup access so I wanted to
> see if e-mailing this would work.
> 
> I will try to explain my problem as clearly as possible:
> 
> The program I am working on calls a binary executible file.  The binary
> executible requires that a particular environment variable be set.  I do
> this by using os.environ['DFFPATH'] = 'pathname', whatever 'pathname'
> might be.  When I attempted to do this on a Windows 95/98 PC, it does not
> work, and the program that I am calling from Python complains that the
> DFFPATH variable is not set even though if I print out os.environ, it
> shows that it is set.  However, when I attempted to do this on a Windows
> NT PC, everything worked just fine.  I start the subprocess with
> os.system. 
> 
> So... my questions are:
> 
> Has anything like this been reported before?
> Is there a fix/patch for this problem for Windows 95/98?
> 
> If you could help me out with this, it would be greatly appreciated.
> 
> Thanks,
> 
> Chris
> ____________________________________________________
> 
> Christopher N. Vogel
> Engineer
> Sverdrup Technology, Inc.
> 4200 Colonel Glenn Highway, Suite 500
> Beavercreek, OH 45431-1663
> Phone (office): (937) 255-5668 x4150
> Phone (ARC lab): (937) 255-4310
> Fax: (937) 255-1122
> E-mail: Christopher.Vogel at wpafb.af.mil
> 




More information about the Python-list mailing list