Summary
In this chapter, we began from scratch. First of all, we prepared our pipenv
environment, installed all packages needed for the web application, and finally created an empty Python file.
After that, we built up a skeleton that can be reused any time we want to develop a new web application. This skeleton is made up of an initial part where we import all the packages we need and a main function that is dedicated to containing all the business logic of our web app.
In the first part of the main function, some features must be applied to the entire web application, such as its title and subtitle, which we created with very beautiful and colorful HTML, and the web browser’s panel icon and title.
In the second part of the main function, we created a menu that will be shown on the left-hand side of our web application and that lets the user choose from the various tasks our web application can perform. Upon selecting one of the tasks in the menu, the web application...