[Tutor] Python trouble

2011-04-22 Thread Alex Butler
Ok let me try to be more clear.  I am trying to write code in the IDLE
Python GUI of python 2.7.  When I open the new python shell, there is a
written header as well as the three >s on the left side.  I now those are
used as indents and I do not type them in.  However, whenever I write any
type of code and either attempt to run or click alt + x to check module, it
says "there is an error in your program: invalid syntax."  Then when it goes
back to the page to highlight the syntax error the second > is highlighted
in color as it is the problem.  Before I deleted the header from this
program, it would highlight the 7 after the 2. In the header.

 

Alex Butler

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Problem with running Python

2011-04-22 Thread Alex Butler
Hello all,

 

I am new to programming on Python and am teaching myself.  I have figured
out some basics of coding, however whenever I try to run the program or
check its functionality (Alt + X on my windows) it always comes back saying
that "there's an error in your program: invalid syntax."  However, when it
returns to the IDLE page and highlights the error, it highlights the 7 in
the python 2.7.1 above any coding.  And if I am able to delete that text, it
then links the syntax error to the multiple '>' in the code.  Is this a
common issue with a simple fix?  Thanks

 

Alex Butler

 

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor