一 获取当前平台 platform import platform print(platform.platform()) 转载于:https://www.cnblogs.com/xqnq2007/p/7930284.html