Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- SQLD
- docker
- IOU
- 파이썬
- 도커
- C++
- tao_toolkit
- 백준
- nfs mount
- Python
- 타오툴킷
- deepstream
- 정처기
- dkms
- Linux
- 알고리즘
- 비디오미리보기
- pyMySQL
- 주피터 노트북
- 딥러닝
- 리눅스
- nouveau
- 스프링
- Spring
- C
- 딥스트림
- yolov7
- mAP@.5
- 도커 컨테이너
- 네트워크
Archives
- Today
- Total
한 번만 더 해보자
[Python] Expected indented blockPylance 본문
상황
if문을 사용하려고 했는데 다음과 같은 에러 발생
에러
Expected indented blockPylance
원인
들여쓰기를 하지 않았음 아래와 같이 고치면 됨
if a > b:
result = a
if a > b:
result = a
반응형
'언어 > Python' 카테고리의 다른 글
| [Python] pymysql에서 스키마 변경하기 (0) | 2024.02.28 |
|---|---|
| [Python] DB 조회 시 컬럼명도 가져오기 (0) | 2024.02.28 |
| [Python] corrupt image/label: could not convert string to float: '\ufeff0’ (0) | 2024.01.04 |
| [Python] cv2 경로의 한글 깨짐 (0) | 2023.09.22 |
| [Python] cv2.error: OpenCV(4.7.0) error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. (0) | 2023.02.28 |