May 2017
Beginner to intermediate
220 pages
5h 2m
English
Before the CAPTCHA image can be analyzed, it needs to be extracted from the form. Our browser developer tools show that the data for this image is embedded in the web page rather than being loaded from a separate URL:

To work with images in Python, we will use the Pillow package, which can be installed via pip using this command:
pip install Pillow
Alternative ways to install Pillow are covered at http://pillow.readthedocs.io/en/latest/installation.html.
Pillow provides a convenient Image class with a number of high-level methods, which can be used to manipulate the CAPTCHA images. Here's a function that takes the ...
Read now
Unlock full access