Advanced python arguments
- arguments with default values
def function(a=1, b=2, c=3):
unlimited positional arguments
- put
(*args)
when defining the function - creates a tuple
- often goes with a loop
unlimtited keyword arguments
- put
(**kwargs)
when defining function - creates a dictionary
- use
.get()
method to access values without error
GUI: graphical user interface
- intro to tkinter
- widgets: button, entry, label
-
pack()
,grid()
functions
Top comments (0)