파이썬 에러 expected an indented block 는 들여쓰기 수준이 잘못 되어 있어서 나오는 에러다.
ex)
if a == b:
print('a equal b')
라고 작석하면 에러가 발생한다.
if a == b:
print('a equal b')
라고 고쳐 주어야 한다.
'프로그래밍 언어 > Python' 카테고리의 다른 글
python tesseract 사용 환경 설정하기 (0) | 2021.03.21 |
---|---|
python : docstring (0) | 2017.09.26 |
python : else문 (0) | 2017.09.26 |
python : 코딩 스타일 가이드 (0) | 2017.09.25 |
python : Generator와 yield 키워드 (0) | 2017.09.25 |