摘要: # -*- coding: utf-8 -*- import os print(os.name) # 获取操作系统类型 # print(os.uname()) # 获取操作系统的详细信息,Win不支持 print(os.environ) # 获取操作系统环境变量,结果是一个dict print(os 阅读全文
posted @ 2019-12-06 17:48 duchaoqun 阅读(171) 评论(0) 推荐(0) 编辑