12
GUIs and Scripting
"A user interface is like a joke. If you have to explain it, it's not that good."– Martin LeBlanc
In this chapter, we're going to work on a project together. We are going to write a simple scraper that finds and saves images from a web page. We'll focus on three parts:
- A simple HTTP web server in Python
- A script that scrapes a given URL
- A GUI application that scrapes a given URL
A graphical user interface (GUI) is a type of interface that allows the user to interact with an electronic device through graphical icons, buttons, and widgets, as opposed to text-based or command-line interfaces, which require commands or text to be typed on the keyboard. In a nutshell, any browser, any office suite such as LibreOffice, and, ...
Get Learn Python Programming - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.