python判断是windows还是linux12345import platformif 'windows' == platform.system ().lower (): print ("是windows系统")elif 'linux' == platform.system ().lower (): print ("是linux系统")