os.hostname()


以字符串形式返回操作系统的主机名。

Returns the host name of the operating system as a string.