Saturday, January 7, 2012

Enabling autocomplete in the python interactive interpreter

Heres how to enable autocomplete in the python interactive interpreter (especially in Linux):

import rlcompleter, readline
readline.parse_and_bind('tab: complete')
view raw autocomplete.py hosted with ❤ by GitHub

No comments:

Post a Comment