Q&A
loop is not defined
loop = asyncio.get_running_loop() res = await loop.run_in_executor(executor, urlopen, url) 이렇게 수정하니 해결이 됐습니다.
- Likes
- 0
- Comments
- 1
- Viewcount
- 44
Q&A
loop = asyncio.get_running_loop() res = await loop.run_in_executor(executor, urlopen, url) 이렇게 수정하니 해결이 됐습니다.
Q&A
print(dict((x, y * z) for x, y, z in zip(a, b, c))) 알려주신대로 했는데 이것 또한 dict object is not callable이라고 나옵니다.. 파이썬, 주피터 버전문제일까요 python 3.13.9v 입니다.
Q&A
감사합니다. 이해되었습니다. 아래와 같이 실행했을 때 오류가 발생했었는데, 단순히 정수가아닌 튜플로 괄호를 씌었을때 가능하겠네요 for i, name in enumerate(1, 2, 3): print(i, name)