Mercurial > dotfiles
comparison .python/startup.py @ 103:5f523100226f
Be more permissive if ipy() cannot be defined as in bpython.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 09 Jun 2009 10:39:39 -0500 |
parents | c30d68fbd368 |
children |
comparison
equal
deleted
inserted
replaced
102:16472f9a3543 | 103:5f523100226f |
---|---|
29 del os, atexit, readline, rlcompleter, save_history, historyPath | 29 del os, atexit, readline, rlcompleter, save_history, historyPath |
30 try: | 30 try: |
31 import IPython | 31 import IPython |
32 def ipy(): | 32 def ipy(): |
33 IPython.Shell.start().mainloop() | 33 IPython.Shell.start().mainloop() |
34 except ImportError: | 34 except: |
35 pass | 35 pass |