[Solved] Python Classes – No calls? One Loop? [closed]


As for your firs question:
yes one can make a Python program without using classes or functions at all:
all satements are executed in theorder they are encountered

2) you certainly are mixing some concepts there, but generally
“yes” – one could stop a loop running in another method if running
in parallell to that loop, in a separate thread,
or using some asynchronous form of programing (so that
code in the other method gets executed while the loop is running)
Thishowever has nothing to do with inheritance. (Note though that
your specific example does not start the loop, and also,
you’d have a name conflict with self.exit there) –

3

solved Python Classes – No calls? One Loop? [closed]