control-C not responding, short example program

Owen F. Ransen ransen_spam_me_not at nemo.it
Tue Jul 24 10:49:35 EDT 2001


If you put this in a module and test it:

def ForLoopTest (NumLoops) :
    for Year in range (1,NumLoops) :
        for Century in range (1,NumLoops) :
            Months = Year*12


you'll find that ForLoopTest (10000) will apparently
halt 500Mhz Windows 98 machine. It simply does not
respond to control-C. Is there a way of doing this
or do I just have to live with it?



--
Owen F. Ransen
http://www.ransen.com/
Home of Gliftic & Repligator Image Generators



More information about the Python-list mailing list