Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
전문가를 위한 파이썬(2판)
by
루시아누 하말류
,
강권학
November 2024
Beginner to intermediate
1064 pages
25h 21m
Korean
Hanbit Media, Inc.
Content preview from
전문가를 위한 파이썬(2판)
828
4
부
제어 흐름
20
.
1
이번 장의 변경 사항
이 장의 제목은
1
판에서는 ‘
futures
를 이용한 동시성’이었지만
2
판에서는 ‘동시 실행자’로 바
꾸었다. 실행자가 이 장에서 다루는 가장 중요한 상위 수준 기능이기 때문이다.
futures
는 저
수준 객체이며
20
.
2
.
3
절 ‘
Future
클래스 찾아보기’에서 집중적으로 살펴보겠지만, 이 장의 다
른 부분에서는 거의 나오지 않는다.
이제 모든
HTTP
클라이언트 예제는 새로운
HTTPX
라이브러리
(
https://fpy.li/httpx
)
를 사용하는데, 이 라이브러리는 동기 및 비동기
API
를 모두 제공한다.
파이썬
3
.
7
에서
http.server
패키지
(
https://fpy.li/20-2
)
에 추가된 멀티스레드화된 서
버 덕분에
20
.
5
절 ‘진행 상황을 출력하고 에러를 처리하면서 내려받기’ 실험에 필요한 준비 과
정이 이제는 더 간단해졌다. 이전 표준 라이브러리의
BaseHttpServer
는 단일 스레드만 지원
했으므로 동시에 여러 클라이언트를 실행하는 실험에는 도움이 안 되었고,
1
판에서는 별도의
외부 도구를 사용해야 했다.
20
.
3
절 ‘
concurrent.futures
로 프로세스 실행하기’에서는 실행자를 이용하면
19
.
6
.
3
절 ‘멀
티코어 소수 검사기 코드’의 예제가 얼마나 간단해지는지 보여 준다.
마지막으로 ...
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판)
오현석, 미샤 고렐릭, 이안 오스발트
Publisher Resources
ISBN: 9791169211772