benchmark.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:runtests 作者: bccp 项目源码 文件源码
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())}
评论列表


问题


面经


文章

微信
公众号

扫码关注公众号