QChatGPT/pkg/utils/platform.py

8 lines
103 B
Python
Raw Normal View History

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