I'm using
Python 2.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32
on Windows-7. The string-input function doesn't do well.
2.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] Python Type "help", "copyright", "credits" or "license" for more information.
name = input ("Please enter your name:")
Please enter your name:Othmar
Traceback (most recent call last):
Python Shell, prompt 1, line 1
File "<string>", line 1, in <module>
NameError: name 'Othmar' is not defined
I tried this in Eclipse, on CLI with Python-consoleprompt and on the IDE wing-101. It's all the same outcome.
What's wrong here?