readline.py -- Python Alternative Readline

Copyright © 2001, Chris Gonnerman chris@gonnerman.org

_rlsetup.c -- Python Readline Installer
Copyright (c) 1999 by Secret Labs AB.
Copyright (c) 1999 by Fredrik Lundh.

Changes:

 


Usage:

This software enables line editing and (temporary) history for Python on Windows. _rlsetup.c is ripped painfully from Fredrik Lundh's _wincon.c source code, and so bears his copyright (and Secret Labs). However, blame me if it doesn't work for you (but of course, you accept all responsibility for this software as a condition for using it).

This package uses the following environment variables:

PYHISTFILE contains the name of the history file (default is sys.prefix + "\\pyhist.txt").

PYHISTMAX is the maximum number of history lines to keep (both in core and on disk).


Download:

Readline-1.7.zip
  Source archive, compatible with Python 2.3 or later.
Readline-1.6.zip
  Source archive, compatible with Python 2.3 or later.
Readline-1.5c.zip
  Source archive, compatible with Python 2.0 to 2.4
Readline-1.7.win32-py2.6.exe
  Auto-installer for Python 2.6, submitted by Dirk Osswald
Readline-1.7.win32-py2.5.exe
  Auto-installer for Python 2.5
Readline-1.7.win32-py2.4.exe
  Auto-installer for Python 2.4
Readline-1.6.win32-py2.5.exe
  Auto-installer for Python 2.5
Readline-1.6.win32-py2.4.exe
  Auto-installer for Python 2.4
Readline-1.6.win32-py2.3.exe
  Auto-installer for Python 2.3
Readline-1.5c.win32-py2.2.exe
  Auto-installer for Python 2.2
Readline-1.5b.win32-py2.1.exe
  Auto-installer for Python 2.1
Readline-1.4.win32-py2.0.exe
  Auto-installer for Python 2.0 (1.4 is the last binary release for this Python version)

 


Installation:

Binary installers are available for Python 2.0 through 2.6. The source archive includes a distutils setup.py installer if you want/need to build your own.


Comments