11_파이썬_코딩_팁 - smart1004/doc GitHub Wiki
import os
# print("*"*100) # 현재 디렉토리의
print(os.getcwd()) # 현재 디렉토리의
print(os.path.realpath(__file__)) # 파일
print(os.path.dirname(os.path.realpath(__file__))) # 파일이 위치한 디렉토리
import os
# print("*"*100) # 현재 디렉토리의
print(os.getcwd()) # 현재 디렉토리의
print(os.path.realpath(__file__)) # 파일
print(os.path.dirname(os.path.realpath(__file__))) # 파일이 위치한 디렉토리