import os os.getcwd() #현재 디렉토리 os.listdir() #디렉토리의 모든 파일 os.chdir(' ') #디렉토리 변경 os.chdir('..') #상위 디렉토리로 이동