Skip to Content
전문가를 위한 파이썬(2판)
book

전문가를 위한 파이썬(2판)

by 루시아누 하말류, 강권학
November 2024
Beginner to intermediate
1064 pages
25h 21m
Korean
Hanbit Media, Inc.
Content preview from 전문가를 위한 파이썬(2판)
852
4
제어 흐름
30 concurrent connections will be used.
--------------------
43 flags downloaded.
35 not found.
Elapsed time: 1.72s
국가 코드를 선택하는 방법과 무관하게 가져올 국기 이미지의 수를
-l
/
--limit
옵션으로 제한
할 수 있다. [예제
20
-
13
]은
-l 100
옵션을
-a
옵션과 함께 사용해
ERROR
서버에서 정확히 국
100
개를 요청하는 방법을 보여 준다.
예제
20-13
flags2
_
asyncio
.
py
를 실행해
ERROR
서버에서
100
개의 동시 요청(
-
m
100
)을 이용해
100
개의 국기
(
-
al
100
) 내려받기
$ python3 flags2_asyncio.py -s ERROR -al 100 -m 100
ERROR site: http://localhost:8002/flags
Searching for 100 flags: from AD to LK
100 concurrent connections will be used.
--------------------
73 flags downloaded.
27 errors.
Elapsed time: 0.64s
지금까지
flags2
예제를 실행하는 방법을 알아보았다. 이제 이 스크립트들이 어떻게 구현되었
는지 알아보자.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

전문가를 위한 리액트

전문가를 위한 리액트

테자스 쿠마르
고성능 파이썬(2판)

고성능 파이썬(2판)

오현석, 미샤 고렐릭, 이안 오스발트

Publisher Resources

ISBN: 9791169211772