Python經常使用標準庫 --- platform

獲取操做系統詳細信息。node 方法 描述 示例 platform.platform() 返回操做系統平臺 >>> platform.platform() 'Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty' platform.uname() 返回操做系統信息 >>> platform.uname() ('Linux', 'ubuntu
相關文章
相關標籤/搜索