Skip to content

Instantly share code, notes, and snippets.

@dsaran
Created May 9, 2016 14:49
Show Gist options
  • Save dsaran/3c27c8932de7357495c696ebe70b3466 to your computer and use it in GitHub Desktop.
Save dsaran/3c27c8932de7357495c696ebe70b3466 to your computer and use it in GitHub Desktop.
python autocomplete
# Remember to add env variable PYTHONSTARTUP=~/.pythonrc
import rlcompleter
import readline
readline.parse_and_bind("tab: complete")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment