Networking and Internet Protocols
socket, socketserver, select, selectors, urllib, http, ftplib, smtplib, imaplib and webbrowser.
Intermediate
This is an overview — pick a sub-topic below.
Sub-topics (7)
socket
Low-level network connections over TCP and UDP.
Intermediate♥ 0🔖 0💬 0
socketserver
A framework for writing simple TCP/UDP servers with handler classes.
Intermediate♥ 0🔖 0💬 0
select and selectors
Wait on many sockets at once — the basis of event loops.
Advanced♥ 0🔖 0💬 0
urllib
Fetch URLs and parse/encode URL parts without third-party packages.
Easy♥ 0🔖 0💬 0
http
HTTP status codes, cookies, a client (http.client) and a basic server.
Intermediate♥ 0🔖 0💬 0
smtplib, imaplib and ftplib
Send email (SMTP), read mailboxes (IMAP) and transfer files over FTP.
Intermediate♥ 0🔖 0💬 0
webbrowser
Open a URL in the user's default browser.
Beginner♥ 0🔖 0💬 0
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.