help needed to understand an error message.

Aloke Ghosh akghosh3 at gmail.com
Mon Mar 26 14:52:26 CEST 2012


Hi,
I am learning Python and do not have programming experience.
I was following an exercise from
http://learnpythonthehardway.org/book/ex2.html
and made a mistake in entry :

*Print"I like typing this."*

and got the following error message:

*In [2]: Print"I like typing this."*
*------------------------------------------------------------*
*   File "<ipython console>", line 1*
*     Print"I like typing this."*
*                                        ^*
*SyntaxError: invalid syntax*

I feel the error is in Capital P in print .
However the error indicated with "*^*"
hints at quote at the end of the line.

*Can any one please help me understand this.*

-- 
A.K.Ghosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120326/57e261aa/attachment.html>


More information about the Python-list mailing list