Gary,

On Tue, Nov 27, 2001 at 10:10:42AM -0500, Gary Bishop wrote:
> Any hints on how to get it to work?

Do you have a .pythonrc.py like the attached?

> In Python 2.1.1 (#12 Oct 5 2001, 08:16:52) ...

BTW, is this a Python 2.1.1 that you built yourself?

Jason
try:
        import readline
except ImportError:
        print "Module readline not available."
else:
        import rlcompleter
        readline.parse_and_bind("tab: complete")

        import os
        histfile = os.path.join(os.environ["HOME"], ".python_history")
        try:
                readline.read_history_file(histfile)
        except IOError:
                pass
        import atexit
        atexit.register(readline.write_history_file, histfile)
        del os, histfile

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to