puzzling.org · mary.gardiner.id.au · Macquarie University

Python Usage

Using libreadline in your Python program

Do this:

import readline

The input and raw_input builtins now use libreadline.

Be aware of the licencing of libreadline: WzDD refers to this as "the most insidious way to GPL your program ever".

Last modified: 25 June 2003