Python Programming for Data and Web
In Chapter 1, you got an idea of what web scraping is, what core technologies exist, and how and where you can plan to find the resources or data you’re looking for.
Web scraping requires tools and techniques to be implemented and deployed using scripts or programs. We have chosen Python (https://www.python.org/) for this purpose, as it is very easy to learn and has a huge set of libraries for communicating with the World Wide Web (WWW), data-related processes, and finally, web scraping. In internet search results, we often find Python mentioned in conjunction with data science and Machine Learning (ML). This is because of the wide use of Python in such projects.
In this chapter, we will explore the key benefits of Python and communicate with web resources using Python libraries. This chapter will also provide a detailed overview of installing and using Python libraries such as requests
and urllib
.
In particular, we will learn about...