[Tutor] Python trouble

Alan Gauld alan.gauld at btinternet.com
Sat Apr 23 10:03:26 CEST 2011


"Steven D'Aprano" <steve at pearwood.info> wrote

>> Ok let me try to be more clear.  I am trying to write code in the 
>> IDLE
>> Python GUI of python 2.7.

> start a command that goes over two or more lines, the prompt will 
> change to three dots ...

Sadly in IDLE it won't do this (I hate that feature of IDLE!)
but it will indent the cursor for you, padding the line with tabs.

> Please COPY and PASTE an example of the system error. Do not retype 
> it, especially not from memory, but actually copy and paste the 
> complete error, including the line it claims is invalid, and paste 
> it into a reply. Like this:

Again IDLE makes this difficult if you are running from a New Window
because it presents the error in a pop up dialog, while highlighting
the "faulty line" in the edit window, but please do try to send the
actual error text.

Alan G. 




More information about the Tutor mailing list