makedirs : 하위 디렉토리를 포함하여 생성 removedirs : 하위 디렉토리를 포함하여 삭제. (파일이 존재하면 [WinError 145] 에러 발생) from os import makedirs from os import removedirs from os.path import isdir dirname = 'test/test' def dircheck(): res = 'Directory Exist' if isdir(dir) else 'Directory Not Exist' return res makedirs(dirname) # make with subdirectories print(dircheck()) removedirs(dirname) # remove with subdirectories print..