environment variable issue

Michel Leunen michel at nospam.please
Mon Sep 15 15:05:30 EDT 2008


Diez B. Roggisch a écrit :

>  >>> sorted(os.environ.keys())
> ['HOME', 'JAVA_HOME', 'LANG', 'LANGUAGE', 'LOGNAME', 'MAIL', 'PATH', 
> 'PWD', 'PYTHONSTARTUP', 'SHELL', 'SHLVL', 'SSH_CLIENT', 
> 'SSH_CONNECTION', 'SSH_TTY', 'TERM', 'USER', '_']
>  >>>
> 
> No HOSTNAME ...

Yes, no HOSTNAME. That's exactly the problem I have. Why is there no 
HOSTNAME?
Thanks to Fredrik Lundh, I know why, now.

Thanks,
Michel

-- 
Michel Leunen
http://linux.leunen.com



More information about the Python-list mailing list