Which part of the loop is it going through in this class frame?

Dan Stromberg drsalists at gmail.com
Wed Mar 7 20:07:35 EST 2018


On Wed, Mar 7, 2018 at 1:57 PM, C W <tmrsg11 at gmail.com> wrote:
> I set time to 6:30, but it's coming out to 5:30. I guess it's because I
> passed in 5:30, so, it's replaced?

time and self.time are 2 different things.

> How does line-by-line execution run inside a frame

To quickly come to grips with execution order, try a graphical or
curses debugger like winpdb (it's cross platform, despite the name) or
pudb.  For this purpose don't do something primitive like pdb - it
won't help as much.



More information about the Python-list mailing list