[Tutor] syntax error with raw input

2014-11-12 Thread Vaibhav Banait
Hi I am new to python. I learnt (!) using raw_input a day back. Attempt to use has resulted in error. I am not able to spot a problem in syntax. I am using python 3.4.2. Kindly help a = raw_input(Write down your name: ) Output: Traceback (most recent call last): File pyshell#1, line 1, in

Re: [Tutor] syntax error with raw input

2014-11-12 Thread Chris Warrick
On Wed, Nov 12, 2014 at 12:08 PM, Vaibhav Banait careendosc...@gmail.com wrote: Hi I am new to python. I learnt (!) using raw_input a day back. Attempt to use has resulted in error. I am not able to spot a problem in syntax. I am using python 3.4.2. Kindly help a = raw_input(Write down

Re: [Tutor] syntax error with raw input

2014-11-12 Thread Alan Gauld
On 12/11/14 11:08, Vaibhav Banait wrote: Hi I am new to python. I learnt (!) using raw_input a day back. Attempt to use has resulted in error. I am not able to spot a problem in syntax. I am using python 3.4.2. Kindly help Looks like you are reading a v2 book/tutorial but using v3. In v3

Re: [Tutor] syntax error with raw input

2014-11-12 Thread wesley chun
Slightly hijacking this thread a bit, specifically Alan's reply, if anyone is averse to installing multiple versions of Python on their computers, you can always access a Python interpreter from a browser window. Here are a collection I've put together. Most are Python 2, but the top pair also

Re: [Tutor] syntax error with raw input

2014-11-12 Thread Steven D'Aprano
On Wed, Nov 12, 2014 at 04:38:51PM +0530, Vaibhav Banait wrote: Hi I am new to python. I learnt (!) using raw_input a day back. Attempt to use has resulted in error. I am not able to spot a problem in syntax. What makes you think it is a problem with syntax? This is what happens when you