Grant Edwards wrote: > On 2006-09-01, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Can anybody explain this one? > > >>>> print os.getenv('HOSTNAME') > > None > >>>> > > [EMAIL PROTECTED] ~ $ echo $HOSTNAME > > kermit > > Perhaps the HOSTNAME variable isn't exported?
Aha. Right you are. Thanks! - PW -- http://mail.python.org/mailman/listinfo/python-list