에러
(Database.executeQuery) : bad operand type for unary -: 'CursorResult'
원인
오타가 있었다..
'-' 문자가 왜 들어갔는지 모르겠지만.. 한참을 찾았다.
저 에러가 뜨면 오타가 없는지 찾아보시길!!
rows = -conn.execute(text(args[0].format(**kwargs)))'Python' 카테고리의 다른 글
| [Python] 리눅스에서 pip install psycopg2 안 될 때 (0) | 2023.08.12 |
|---|---|
| [크롤링] 디시인사이드 갤러리 공지사항 태그 제거 크롤링 (0) | 2023.07.26 |
| [conda] chromedriver devtoolsactiveport file doesn't exist (0) | 2023.07.24 |
| [Selenium] Can not find chromedirver fo currently installed chrome version. (0) | 2023.07.24 |
| [python] tuple 에서 특정 field로 value값 추출 (0) | 2023.06.28 |