Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python -c "from IPython import start_ipython; from sys import argv; start_ipython(argv=['--simple-prompt', '-i', '-c' '%run -d {}'.format(argv[1:])])" ./csr/ic/nodes.py
- Python 2.7.14 (default, Nov 14 2017, 19:52:12)
- Type "copyright", "credits" or "license" for more information.
- IPython 5.5.0 -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object', use 'object??' for extra details.
- ERROR:root:File `u'[./csr/ic/nodes.py].py'` not found.
- $ python -c "from subprocess import call; from sys import argv; call(['ipython', '--simple-prompt', '-i', '-c' '%run -d {}'.format(argv[1:])])" ./csr/ic/nodes
- Python 2.7.14 (default, Nov 14 2017, 19:52:12)
- Type "copyright", "credits" or "license" for more information.
- IPython 5.5.0 -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object', use 'object??' for extra details.
- ERROR:root:File `u'[./csr/ic/nodes].py'` not found.
- $ python -c "from IPython import start_ipython; from sys import argv; start_ipython(['--simple-prompt', '-i', '-c', '%run -d {}'.format(' '.join(argv[1:]))])" ./csr/ic/nodes.py
- Python 2.7.14 (default, Nov 14 2017, 19:52:12)
- Type "copyright", "credits" or "license" for more information.
- IPython 5.5.0 -- An enhanced Interactive Python.
- ? -> Introduction and overview of IPython's features.
- %quickref -> Quick reference.
- help -> Python's own help system.
- object? -> Details about 'object', use 'object??' for extra details.
- Breakpoint 1 at /Users/netsu/Projects/csr/csr/ic/nodes.py:1
- NOTE: Enter 'c' at the ipdb> prompt to continue execution.
- > /Users/netsu/Projects/csr/csr/ic/nodes.py(1)<module>()
- 1---> 1 import pydot
- 2 import matplotlib
- 3 matplotlib.use('TkAgg')
- 4 import matplotlib.pyplot as plt
- 5 import matplotlib.image as mpimg
- ipdb>
- In [1]: Do you really want to exit ([y]/n)? y
Add Comment
Please, Sign In to add comment