Python __file__

사용 버전: Python 3.6.8


파이썬 __file__에 대해서 알아보겠습니다.






__file__은 해당 모듈의 실제 경로를 알려줍니다.


os 모듈의 위치를 알아보겠습니다.










끝.



카테고리: Standard Library, Python

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

Android Compose Coil library

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

Android Notification with Full Screen

KiCad 시작하기 1 (회로도 만들기)

KiCad 시작하기 2 (PCB 만들기)

Android Custom IME(Input method editor) 만들기

음악 총보(Score), 파트보(Part)

iOS Error Undefined symbol Testing.Trait

iOS SwiftUI Unit test