일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 43. Multiply Strings
- Regular Expression
- Generator
- LeetCode
- kaggle
- 30. Substring with Concatenation of All Words
- 715. Range Module
- 컴퓨터의 구조
- Substring with Concatenation of All Words
- Class
- DWG
- 밴픽
- Python
- Protocol
- attribute
- Python Implementation
- 109. Convert Sorted List to Binary Search Tree
- Convert Sorted List to Binary Search Tree
- t1
- 시바견
- concurrency
- shiba
- 315. Count of Smaller Numbers After Self
- 파이썬
- data science
- Decorator
- 프로그래머스
- Python Code
- iterator
- 운영체제
Archives
- Today
- Total
목록Futures (1)
Scribbling
Python: Concurrency with Futures
Web downloads in three different styles - sequential download - concurrent.futures - asyncio With heavy input/output workload, we can make the best out of concurrency. Below is the code that downloads flag gif files sequentially. import os import time import sys import requests POP20_CC = ('CN IN US ID BR PK NK BD RU JP' 'MX PH VN ET EG DE IR TR CD FR').split() BASE_URL = 'http://flupy.org/data/..
Computer Science/Python
2022. 5. 9. 14:25