[Tutor] IDLE error msgs and line continuations?

Jason Massey jason.massey at gmail.com
Fri Oct 28 05:06:18 CEST 2005


All you need is the line continuation character, '\':

if (condition 123 and \
   condition 456) :

On 10/27/05, CPIM Ronin <ronin_cpim at hotmail.com> wrote:
> When using IDLE, after hitting F5 to save and run, if an error occurs, it
> merely flashes at the code location of the error. While I usually figure out
> what is wrong, why don't I get the detailed text error messages that the
> command line gives?
>
> Also, I'm getting most error messages when I try line continuation for
> clarity:
>
>      if (condition 123 and
>          condition 456):
>
> I distinctly remember Python allowing the above.
>
> Thanks.
>
> RC
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list