@@ -0,0 +1,605 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0Aimport platform%0A%0Aprofile = %5B'architecture',%0A           'linux_distribution',%0A           'mac_ver',%0A           'machine',%0A           'node',%0A           'platform',%0A           'processor',%0A           'python_build',%0A           'python_compiler',%0A           'python_version',%0A           'release',%0A           'system',%0A           'uname',%0A           'version'%5D%0A%0Adef main():%0A    print(%22%22)%0A    for key in profile:%0A        if hasattr(platform, key):%0A            print(key + %22: %22 + str(getattr(platform, key)()))%0A    print(%22%22)%0A%0Aif __name__ == '__main__':%0A    main()%0A

Create os_info.py