Created
December 28, 2011 22:29
-
-
Save dnozay/1530139 to your computer and use it in GitHub Desktop.
python startup file for autocomplete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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