Application Data

A look at the modifications in the Python module for the “About” view.

In this lesson, we’ll look at a modal “About” view in the application. It will be a small window that shows conditionally displayed basic application information.

About the application

In this module we may not see any major changes, but the purpose is to save the application’s name, the application logo, and the Google Analytics ID in a separate module, appData.py. We also need to refer to them by their variable name and import them like any other Python object.

This is what the application looks like this:

Note: Don’t forget to add the Google Analytics ID to make the widget below work or remove the {{GAID}} to continue without it. However, removing it is not recommended.

Get hands-on with 1400+ tech skills courses.