def get_machine_info():
"""
Return information about the machine, including host,
system, and the python version.
"""
return {'host':platform.node(),
'system': platform.system(),
'python_version': ".".join(platform.python_version_tuple())}
评论列表
文章目录