I would like to run this minimal example: I get the prompt (Question?), but not the 'default editable signal'. Please ¿any hints? (Windows XP-SP3, Python 2.6, pyreadline 1.5)
import readline def input_default(prompt, default): def startup_hook(): readline.insert_text(default) readline.set_startup_hook(startup_hook) try: return raw_input(prompt) finally: readline.set_startup_hook(None) print input_default("Question?", default="default editable answer") -- http://mail.python.org/mailman/listinfo/python-list