Guest User

Untitled

a guest
Feb 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. $ 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
  2. Python 2.7.14 (default, Nov 14 2017, 19:52:12)
  3. Type "copyright", "credits" or "license" for more information.
  4.  
  5. IPython 5.5.0 -- An enhanced Interactive Python.
  6. ? -> Introduction and overview of IPython's features.
  7. %quickref -> Quick reference.
  8. help -> Python's own help system.
  9. object? -> Details about 'object', use 'object??' for extra details.
  10. ERROR:root:File `u'[./csr/ic/nodes.py].py'` not found.
  11.  
  12.  
  13. $ python -c "from subprocess import call; from sys import argv; call(['ipython', '--simple-prompt', '-i', '-c' '%run -d {}'.format(argv[1:])])" ./csr/ic/nodes
  14. Python 2.7.14 (default, Nov 14 2017, 19:52:12)
  15. Type "copyright", "credits" or "license" for more information.
  16.  
  17. IPython 5.5.0 -- An enhanced Interactive Python.
  18. ? -> Introduction and overview of IPython's features.
  19. %quickref -> Quick reference.
  20. help -> Python's own help system.
  21. object? -> Details about 'object', use 'object??' for extra details.
  22. ERROR:root:File `u'[./csr/ic/nodes].py'` not found.
  23.  
  24.  
  25. $ 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
  26. Python 2.7.14 (default, Nov 14 2017, 19:52:12)
  27. Type "copyright", "credits" or "license" for more information.
  28.  
  29. IPython 5.5.0 -- An enhanced Interactive Python.
  30. ? -> Introduction and overview of IPython's features.
  31. %quickref -> Quick reference.
  32. help -> Python's own help system.
  33. object? -> Details about 'object', use 'object??' for extra details.
  34. Breakpoint 1 at /Users/netsu/Projects/csr/csr/ic/nodes.py:1
  35. NOTE: Enter 'c' at the ipdb> prompt to continue execution.
  36. > /Users/netsu/Projects/csr/csr/ic/nodes.py(1)<module>()
  37. 1---> 1 import pydot
  38. 2 import matplotlib
  39. 3 matplotlib.use('TkAgg')
  40. 4 import matplotlib.pyplot as plt
  41. 5 import matplotlib.image as mpimg
  42.  
  43. ipdb>
  44.  
  45. In [1]: Do you really want to exit ([y]/n)? y
Add Comment
Please, Sign In to add comment