How to get the hostname?
Thomas Güttler
guettler at thomas-guettler.de
Thu Jun 5 05:12:36 EDT 2003
Hi!
Is there a way to get the hostname with python?
fd=open("/etc/HOSTNAME") or getting the environment variable $HOST
is not nice.
thomas
More information about the Python-list
mailing list