python 返回系统名称,系统平台,系统版本

import platform  
import os  
print(os.name)  
print(platform.system())  
print(platform.release())

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/9985146.html