# -*- coding: utf-8 -*-
import platform
def check_os():
os_info = platform.system()
if os_info == 'Windows':
return 'w'
elif os_info == 'Linux':
return 'l'
elif os_info == 'Darwin':
return 'm'
else:
print("현재 운영 체제는 알 수 없습니다.")
check_os()
'백엔드 프레임워크 & 언어 > Python' 카테고리의 다른 글
pip install yfinance --upgrade --no-cache-dir (0) | 2025.08.20 |
---|---|
ImportError: No module named yaml (0) | 2024.04.14 |
Node.js와 Python으로 Line Notify 보내기 (0) | 2024.02.12 |
WARNING: There was an error checking the latest version of pip (0) | 2024.02.03 |
Python Line Message 보내기 (0) | 2023.08.24 |