> Is `hostname` what you look for?

I just confirmed....  The Command Line "hostname" application
does indeed return the TCP/IP hostname...  In this case the
DHCP assigned hostname...

But system_profiler does indeed for Local_host_name return the
Sharing pref. Plane machine name....

Since I'm reading that information anyway, that works nicely...
(But I would swear that I had checked that earlier...)

                - Benjamin
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to