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 | 31 |
Tags
- pytorch
- JSON
- nvidia-smi
- C#
- Docker
- YOLO
- pandas
- 핑거스타일
- 프로그래머스
- OpenCV
- paramiko
- Selenium
- C++
- label
- Linux
- SSH
- Visual Studio
- ubuntu
- windows forms
- VS Code
- C
- Numpy
- pip
- mysql
- Python
- 컨테이너
- 오류
- 기타 연주
- 채보
- error
Archives
- Today
- Total
목록not Queue (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