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 |
Tags
- Docker
- 채보
- windows forms
- Python
- LIST
- error
- pip
- 핑거스타일
- paramiko
- Linux
- SSH
- YOLO
- pandas
- label
- Numpy
- 기타 연주
- 오류
- ubuntu
- 컨테이너
- C#
- Selenium
- C
- VS Code
- pytorch
- C++
- Visual Studio
- OpenCV
- mysql
- 프로그래머스
- JSON
Archives
- Today
- Total
목록argument after * must be an iterable (1)
기계는 거짓말하지 않는다
Python Error argument after * must be an iterable, not Queue
Thread 사용 시 args 매개 변수를 튜플로 전달할 때 오류이다. 튜플로 하나의 매개 변수만 전달 할 시, # 오류 t = threading.Thread(target=custom_function, args=(value1)) 아래와 같이 하나의 매개 변수만 전달하더라도 콤마(,)가 필요하다. # Comma , t = threading.Thread(target=custom_function, args=(value1,))
Python
2022. 6. 10. 22:25