ABSTRACT

This chapter moves on to creating graphical applications. Such applications make it possible to change the appearance of a program by the use of control elements such as buttons, sliders, etc. Because of the migration of Anaconda from PyQt4 to PyQt5, the chapter elaborates on PyQt5. PyQt5 is a graphical user interface (GUI) widgets toolkit that is a blend of Python programming language and the Qt5 library. PyQt5 is a popular GUI library which has many advantages over other GUI libraries such us Tkinter and wx. Widgets are basic building blocks of a GUI application. PyQt5 has a wide range of widgets, including buttons, check boxes, sliders, and list boxes. Most GUI applications are used to take user input and produce some outputs based upon the given input. One common technique is to prompt the user to click an OK button or a Cancel button.