python标准模块学习4_______platform模块
来源:互联网 发布:360里有个网络监控 编辑:程序博客网 时间:2024/06/05 06:01
platform模块用于获取系统的各种信息
1.获取操作系统的位数
platform.architecture()
2.获取系统的名称及版本号
platform.platform()
3.获取系统版本号
platform.version()
4.获取系统网络名称
platform.node()
5.获取处理器信息
platform.processor()
6.获取汇总信息
platform.uname()
7.获取计算机类型
platform.machine()
8.获取操作系统类型
platform.system()
9.获取window操作系统信息
platform.win32_ver()
10.获取系统发行版本
platform.release()
11.获取linux系统类型
platform.dist()
12.获取linux版本信息
platform.linux_distribution()
13.获取Python相关信息
platform.python_branch()
platform.python_build()
platform.python_compiler()
platform.python_implementation()
platform.python_revision()
platform.python_version()
platform.python_version_tuple()
14.获取其他信息
platform.java_ver()java版本
platform.libc_ver()libc版本
platform.mac_ver()
platform.os
platform.popen()
platform.re
platform.string
platform.sys
platform.system_alias()
- python标准模块学习4_______platform模块
- python标准模块学习1_______fnmatch模块
- python标准模块学习2_______re模块
- python标准模块学习5_______uuid模块
- python标准模块学习6_______urlparse模块
- python标准模块学习7_______webbrowser模块
- python标准模块学习8_______hashlib模块
- python标准模块学习9_______md5模块
- python标准模块学习10_______sha模块
- python标准模块学习11_______hmac模块
- python标准模块学习12_______json模块
- python标准模块学习13_______urllib2模块
- python标准模块学习14_______codecs模块
- python学习笔记4-python模块和标准库
- python学习4:sys标准库模块使用
- python标准库fileinput模块学习
- python标准库os模块学习
- 【python标准库学习】re模块
- 若处理器是Big_endian的,则返回0;若是Little_endian的,则返回1
- EZOI NOIP模拟赛 线段树
- LeetCode No.85 Maximal Rectangle
- 1103. Integer Factorization
- TProfiler配置部署
- python标准模块学习4_______platform模块
- [专题2016-09-07]转账交易测试点
- @JsonFormat使用
- apache+svn+openldap 整合实现认证
- 数据结构实验之链表七:单链表中重复元素的删除
- struts2的文件上传操作源码解析
- 乘法器仿真问题
- 过滤器、监听器、拦截器
- 使用try catch抛出和捕获异常