[Tutor] Deleted dictionary length not reporting

Jim Mooney cybervigilante at gmail.com
Wed Jul 17 04:55:04 CEST 2013


> That's very strange. print is not supposed to be buffered, it should always
> print immediately. I have no ideas about that.

Something winsound must do, since I printed out the time at the end of
each loop and the loop delays for the length of each sound clip, which
are a few seconds long.

Tue Jul 16 19:48:01 2013
Tue Jul 16 19:48:12 2013
Tue Jul 16 19:48:16 2013
Tue Jul 16 19:48:22 2013
Tue Jul 16 19:48:25 2013

but the print that's in the loop doesn't appear until the loop is
done, eve after I put the enumerate where it should go.

anyway, it worked fine until I got a key error now and then, which I
don't want to figure out, so I'm going back to just popping used items
from a list, which was dirt-simple.

Jim

I sure love that Guv-a-Mint Cheese, Guv-a-Mint Cheese, Guv-a-Mint Cheese
Oh please Guv-a-Mint, Guv-a-Mint please,
Please bring back that Guv-a-Mint Cheeeeeeeeese!


More information about the Tutor mailing list