[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Python and hobbit variables
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Python and hobbit variables
- From: "Larry Barber" <lebarber (at) gmail.com>
- Date: Wed, 28 May 2008 09:50:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=dFsadkzUaoWAYRX1BN/igpU3jmPwoR9skZSdW46yDmk=; b=QgbhEljnGhD5B4RaK1hPC6h01hS64UDoXb7BYTrPjzx/w2b53X+5E6Qa6SESz/diL64QQ9a6g0wAeXWhLbbHcrSvMN0SURC9mOQkktLdmLxCDDyBKDNlxBRs8QJujl7kECqLoNe0lhSNrtiqKTuEKHHO/NbyVnCVSYaMoyR/Yzo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IMty330NvkE6WxxkJ/DYgDZHkwH2wK3mi6OOgsmNIxSjCpoLZ9WSxaqT8/LvyImm1gnmoZyCoVV7+eNigESEISZCAXq7IX+SJKDLdA+gr8FssjQ+oMNksvhqbyqdoDn9mynfIsrhqSAOUWnwnadxQyh/nl3Tgo+1WAxKmUiWrGE=
- References: <200805281450.57776.wayne (at) flashmedia.co.za>
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 <wayne (at) flashmedia.co.za>
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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>