Python and hobbit variables
list Wayne Gemmell
Hi all I'm re-writing my custom scripts in python. Is there any way to access the $BBDISP, $MACHINE , $BBHOME , etc variables from Python? -- Regards Wayne
list Larry Barber
If you run your scripts using bbcmd these variable will be in the environment and can be accessed using os.getenv(). Thanks, Larry On Wed, May 28, 2008 at 7:50 AM, Wayne Gemmell <user-7a761fbb908f@xymon.invalid>
▸
wrote:
Hi all I'm re-writing my custom scripts in python. Is there any way to access the $BBDISP, $MACHINE , $BBHOME , etc variables from Python? -- Regards Wayne