September 2026
1051 pages
35h 4m
English
In this chapter, we’ll look at the solutions Python provides for accessing resources on the internet. By this we mean, for example, downloading HTML documents or other files from web servers via HTTP or connecting to FTP servers to exchange files.
But first we’d like to provide an overview of the protocols and solutions in use before discussing a selection of the available solutions in detail.
Two predominant protocols for data transfer exist on the internet: HTTP and FTP.
Hypertext Transfer Protocol (HTTP) is the protocol via which browsers and web servers communicate with each other to transfer web content. It’s stateless and, together with the HTML ...
Read now
Unlock full access