config_checker.py 文件源码

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

项目:rig-remote 作者: Marzona 项目源码 文件源码
def dump_info():
    """Dumps some info regarding the environment we are running in.
    The intended use is to ask the user to paste this info for
    troubleshooting steps.

    """

    print("Python version: {}".format(platform.python_version()))
    print("\n   ")
    print("System's release version: {}".format(platform.version()))
    print("\n   ")
    print("Platform: {}".format(platform.platform()))
    print("\n   ")
    print("OS environment: {}".format(platform.os.environ))
    print("\n   ")
    print("Platform architecture: {}".format(platform.architecture()))
    print("\n   ")
    print("Linux distrubition name: {}".format(platform.dist()))
    print("\n   ")
    print("System/OS name: {}".format(platform.system()))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号