ipython
15 lines
| 383 B
| text/plain
|
TextLexer
Fernando Perez
|
r2837 | #!/usr/bin/env python | ||
"""Terminal-based IPython entry point. | ||||
Fernando Perez
|
r4246 | """ | ||
Thomas Spura
|
r10169 | import sys | ||
import traceback | ||||
Fernando Perez
|
r2837 | |||
from IPython.frontend.terminal.ipapp import launch_new_instance | ||||
Thomas Spura
|
r10169 | try: | ||
launch_new_instance() | ||||
except: | ||||
exc_type, exc_value, exc_traceback = sys.exc_info() | ||||
traceback.print_exception(exc_type, exc_value, exc_traceback, | ||||
file=sys.stderr) | ||||
sys.exit(1) | ||||