.pythonrc 168 B

12345678
  1. try:
  2. import readline
  3. except ImportError:
  4. pass
  5. #print "Module readline not available."
  6. else:
  7. import rlcompleter
  8. readline.parse_and_bind("tab: complete")