os.hostname()
v14.15.4
返回上层文档
提交修改
搜索
新增于: v0.3.3
返回:
<string>
以字符串的形式返回操作系统的主机名。
Added in: v0.3.3
Returns:
<string>
Returns the host name of the operating system as a string.