"Luke Paireepinart" <[EMAIL PROTECTED]> wrote

> And what's all of this 'command-line' business?  Your python script 
> is
> the same when run by double-clicking as it is when run from idle:

I'll have to disdagree with you here Luke.

IDLE changes script behaviour in quite a number of subtle
ways that can lead to strange anomolies. Exceptions which
cause programs to crash and burn are caught in IDLE.
In particular this causes things like CTRL-C and CTRL-Z to
behave differently. Also notoriously, Tkinter code will behave
in rather unpredictable ways.

The difference is small but big enough that it can confuse
beginners. I always recommend that if folks are encountering
strange behaviour in IDLE that they try running from a DOS
prompt to see what happens.

Alan G. 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to