A class is a container for a bunch of related functions, which once they become part of the class are now referred to as methods.
the __init__ method is used to initialize any inherited classes, define variables that are used throught the class, and any other objects that need to be initialized.
This class inherits tkinter.Frame, so initializes that class, and makes master visible to all methods and then executes the initialize_user_interface method which sets up the widgets being use by the application.
Once the class has been created, new instances of the class can be created simply by using simple syntax
You really ought to read up on classes as they are a bit complex
here are a couple of links:
https://www.w3schools.com/python/python_classes.asp
and the python doc:
https://docs.python.org/3/tutorial/classes.html
the __init__ method is used to initialize any inherited classes, define variables that are used throught the class, and any other objects that need to be initialized.
This class inherits tkinter.Frame, so initializes that class, and makes master visible to all methods and then executes the initialize_user_interface method which sets up the widgets being use by the application.
Once the class has been created, new instances of the class can be created simply by using simple syntax
x = MyClass()
You really ought to read up on classes as they are a bit complex
here are a couple of links:
https://www.w3schools.com/python/python_classes.asp
and the python doc:
https://docs.python.org/3/tutorial/classes.html