readline: custom keywords

Michal Bozon bozonm at users.vscht.cz
Tue Jan 30 06:10:26 EST 2001


__hi__

Is `readline' library designed only for interactive python,
or is it also possible to use it in own programs with own keywords?

I would like to use it following way:
For example:


Choose fruit: <TAB><TAB>
orange
apple
lemon
Choose fruit: le<TAB>
Choose fruit: lemon

thanx

- - - - - - - - -
Michal Bozon
Faculty of Chemical Technology, Prague (student)
bozonm at vscht.cz




More information about the Python-list mailing list