raw_input() and readline

Moshe Zadka moshez at server.python.net
Sat Sep 4 02:06:29 EDT 1999


The documentation of raw_input() says it trys to use readline whenever
available, but there seems to be a problem:

file t.py:
print raw_input()

If I use python

>>> execfile("t.py")

Then I have readline functionality, but if I use 

python t.py

I don't have any readline functionality.
I would appreciate any help.





More information about the Python-list mailing list