Yea I think that I will wait till I get sea legs for the first time, hehe. On Dec 28, 2007 1:16 PM, Marc Tompkins <[EMAIL PROTECTED]> wrote:
> As far as I know, not unless you either 1) use threading and put the > killable process in a separate thread or 2) stop and check for input once in > a while, which will make things much much slower. If you're anything like > me, threading is something you'll want to put off for a month or so while > you get your Python sea legs... > > On Dec 28, 2007 8:36 AM, Ian Egland <[EMAIL PROTECTED]> wrote: > > > Hi everyone... I litterally just started python and did the following > > 'hello world' related tutorial. > > > > http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro > > <http://hkn.eecs.berkeley.edu/%7Edyoo/python/idle_intro> > > > > Being the kind of person who like to experiment, I tried changing the > > following script from: > > > > print "Hello World!" > > print "Here are the ten numbers from 0 to 9, just in case you can't > > count." > > for i in range(10): > > print i, > > > > print "I'm done!" > > > > to: > > > > print "Hello World!" > > print "Here are the ten numbers from 0 to 9, just in case you can't > > count." > > for i in range(10000000): > > print i, > > > > print "I'm done! > > > > > > Now I am stuck staring at IDLE as it prints out all 10million > > numbers..... > > Is there a way other than closing the shell to stop a script midway > > through execution? > > > > -Ian > > > > > > > > _______________________________________________ > > Tutor maillist - Tutor@python.org > > http://mail.python.org/mailman/listinfo/tutor > > > > > > > -- > www.fsrtechnologies.com
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor