Skip to content

Instantly share code, notes, and snippets.

@dnozay
Created December 28, 2011 22:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dnozay/1530139 to your computer and use it in GitHub Desktop.
Save dnozay/1530139 to your computer and use it in GitHub Desktop.
python startup file for autocomplete
# python startup file to toggle autocomplete on.
# e.g. export PYTHONSTARTUPFILE=pythonstartup.py
#
import readline
import rlcompleter
readline.parse_and_bind('tab: complete')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment