파이썬[Python]: platform - python_compiler 메서드

platform 모듈 - python_compiler 메서드(method)


/// 설명

파이썬을 컴파일링하는 컴파일러에 관련된 문자열입니다.

※ 형식
platform.python_compiler()

reference
https://docs.python.org/3/library/platform.html#module-platform

/// 예제

1
2
3
4
5
6
import platform
 
print(platform.python_compiler())  # MSC v.1916 64 bit (AMD64)
 
# the compiler used for compiling Python
 
cs

* 실행환경: Microsoft Windows 10 Homes
* 인터프리터: 파이썬(Python 3.9)


– 당신을 응원합니다. –

댓글