Python grammar problems

what is the grammatical difference between the following two pieces of code? What is the functional difference of
?
Wxpython used

Mar.03,2021

you have no difference in this function
the following mounts frame to the object


one is a local variable of the function, and the other is a member variable of the class

you can simply assume that after exiting the function, the local variables will be destroyed automatically, and the member variables can continue to pass the instance name. Member accesses

for example, app.frame

Menu