[BangPypers] help needed to understand an error message.

Aloke Ghosh akghosh3 at gmail.com
Sat Mar 24 04:10:11 CET 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
Bangalore:560016
Karnataka, India.

Mob : +91 9448116503


More information about the BangPypers mailing list