Hello,
I am new to python (pretty familiar with matlab, though) and have
downloaded pythonxy and am using spyder to work thru Swaroop CH's "A
Byte of Python".
I am seeing that at the "standard" python console if I enter ctrl-d
for the following code
s = raw_input('enter something ->:')
I get an exception, as expected.
>>> s = raw_input('test:')
test:Traceback (most recent call last):
File "<stdin>", line 1, in <module>
EOFError
But, in Spyder (interactive or external console) this does not cause
an exception. I do see a square box at the prompt when I type ctrl-d,
and the history window seems to show it as "EOT" but it doesn't seem
to be interpreted as a ctrl-d.
Is spyder "consuming" the ctrl-d before it gets to the python
interpreter?
Or is something else going on?
Thanks,
Eric
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.