io.UnsupportedOperation: not readable
DB 접속 정보를 문서를 통하여 관리하기 위해서 프로젝트 ROOT 경로에 문서를 만들고 접속하기 위해서 읽는 과정에서 다음과 같은 ERROR가 발생했다. 먼저는 다음과 같은 에러를 확인하면서 io.UnsupportedOperation: not readable가 무엇을 의미하는지 몰라서 os를 임포트해서 getcwd()로 프로젝트 경로를 확인해봤다. import os print(os.getcwd()) # 결과 : C:\hanghae99\0주차_프로젝트\PlayList_22 f = open('dbproperties', 'w', encoding="utf-8"); dbdata = f.readline(); 그러나 설정된 경로에는 큰 문제가 없었다. 다음으로 io.UnsupportedOperation: not re..