import os import sys def get_platform() -> str: """获取当前平台""" return sys.platform