[Tutor] Python -> uname -n

Tim Johnson tim at johnsons-web.com
Mon Sep 13 23:55:17 CEST 2004


using python 2.0+ (versions 2.0 and later)..

How may I obtain the network node hostname with python?

On linux, it would be the value returned by
'uname -n'

TIA
tim
-- 
Tim Johnson <tim at johnsons-web.com>
      http://www.alaska-internet-solutions.com


More information about the Tutor mailing list