Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 6d4ee6eaf6ded6bd4821190c567aeefc > files > 3

python-2.7.15-1.2.mga6.x86_64.rpm

try:
    get_ipython()
except:
    try:
        # this add completion to python interpreter
        import readline
        import rlcompleter
        # see readline man page for this
        readline.parse_and_bind("set show-all-if-ambiguous on")
        readline.parse_and_bind("tab: complete")
    except:
        pass
# you can place a file .pythonrc.py in your home to overrides this one
# but then, this file will not be sourced