Re: help needed to understand an error message.

2012-03-30 Thread J. Cliff Dyer
So the problem is that python doesn't know what you're trying to do. It doesn't know that you meant to say "print." When the parser is looking at the word Print, it assumes you are referencing an object named Print, which is completely legal. It's only once you've created the next token, a strin

RE: help needed to understand an error message.

2012-03-26 Thread Prasad, Ramit
>> I feel the error is in Capital P in print . >> However the error indicated with "*^*" >> hints at quote at the end of the line. > > Anyway, the hint indicates the last quote because this is the location > where the python interpreter realizes it won't be able to execute the > code. You should

Re: help needed to understand an error message.

2012-03-26 Thread Jean-Michel Pichavant
Aloke Ghosh wrote: 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 t