Re: readline module and white-space

2005-05-20 Thread Simon Percivall
Take a look at readline.get_completer_delims() and readline.set_completer_delims(). -- http://mail.python.org/mailman/listinfo/python-list

readline module and white-space

2005-05-19 Thread MackS
Dear all, I'm trying to use Python's readline module but I'm having some trouble. In particular, autocompletion seems to get stuck on white spaces. Please take a look at this code snippet: import readline def completer(text, state): text = text list = ['a dog', 'artsy'] if