Ubuntu에서 Python 모듈 위치 찾기

Dingool95·2022년 12월 7일
0
import sys
import inspect


print(sys.path)    # 인터프리터가 모듈 불러오는 모든 경로
print(inspect.getfile({모듈이름}))    # 특정 모듈이 있는 경로
profile
내 맘대로 요점정리

0개의 댓글