Local variables to a function doesn't disapear after function execution. Why ?

ast nomail at com.invalid
Wed Oct 12 08:27:58 EDT 2016


"Christian Gollwitzer" <auriocus at gmx.de> a écrit dans le message de 
news:ntl6in$on5$1 at dont-email.me...
> Am 12.10.16 um 13:18 schrieb ast:

> Because the Test() call does never terminate. You have the mainloop inside of your constructor. As 
> long as this loop runs, your program exists. Try it by putting
>
> test=Test()
> print("Now I am here")
>
> and you'll see.
>
> Christian

Ah yes, mainloop() is an endless loop.
Thanks 




More information about the Python-list mailing list