Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
Working with Files and Data
Last Updated: May 29, 2026
9 min read
Get Premium
Subscribe to unlock full access to all premium content
Subscribe Now
Reading Progress
0%
On this page
pathlib: Treat Paths as Objects
Context Managers: Safe File Handling
Reading and Writing JSON
Reading and Writing CSV
Making HTTP Requests with requests
httpx: The Modern Alternative
Reading PDFs
Parsing HTML with BeautifulSoup
Working with Large Files
Putting It All Together: A Data Ingestion Pipeline...
Quiz
Join Discord
Aa
Notes
Star
Complete
Ask AI
Type Hints and Pydan...
Notes
Star
Complete
Ask AI
Async Python