python modules utility socketssl network and ipc communications support (tcp/ipudpetc )plus ssl secure sockets wrapper cgi server-side cgi script supportparse input streamescape html textand so on urllib request fetch web pages from their addresses (urlsurllib parse parse url string into componentsescape url text http clientftplibnntplib http (web)ftp (file transfer)and nntp (newsclient protocol modules http cookieshttp cookiejar http cookies support (data stored on clients by website requestserverand client-side supportpoplibimaplibsmtplib popimap (mail fetch)and smtp (mail sendprotocol modules telnetlib telnet protocol module html parserxml parse web page contents (html and xml documentsxdrlibsocket encode binary data portably for transmission structpickle encode python objects as packed binary data or serialized byte strings for transmission email parse and compose email messages with headersattachmentsand encodings mailbox process on disk mailboxes and their messages mimetypes guess file content types from names and extensions from types uubinhexbase binasciiquopriemail encode and decode binary (or otherdata transmitted as text (automatic in email packagesocketserver framework for general net servers http server basic http server implementationwith request handlers for simple and cgi-aware servers we will meet many of the modules in this table in the next few of this bookbut not all of them moreoverthere are additional internet modules in python not shown here the modules demonstrated in this book will be representativebut as alwaysbe sure to see python' standard library reference manual for more complete and up-to-date lists and details more on protocol standards if you want the full story on protocols and portsat this writing you can find comprehensive list of all ports reserved for protocols or registered as used by various common systems by searching the web pages maintained by the internet engineering task force (ietfand the internet assigned numbers authority (ianathe ietf is the organization responsible for maintaining web protocols and standards the iana is the central coordinator for the assignment of unique parameter values for internet protocols another standards bodythe (for www)also maintains relevant documents see these web pages for more details network scripting