python 判断所在操作系统


import platform

os_platform = platform.platform() # Windows-10-10.0.18362-SP0

原文地址:https://www.cnblogs.com/amize/p/14296341.html