Show More
@@ -669,6 +669,14 b' your Python programs for this to work (detailed examples follow later)::' | |||||
669 |
|
669 | |||
670 | embed() # this call anywhere in your program will start IPython |
|
670 | embed() # this call anywhere in your program will start IPython | |
671 |
|
671 | |||
|
672 | .. note:: | |||
|
673 | ||||
|
674 | As of 0.13, you can embed an IPython *kernel*, for use with qtconsole, | |||
|
675 | etc. via ``IPython.embed_kernel()`` instead of ``IPython.embed()``. | |||
|
676 | It should function just the same as regular embed, but you connect | |||
|
677 | an external frontend rather than IPython starting up in the local | |||
|
678 | terminal. | |||
|
679 | ||||
672 | You can run embedded instances even in code which is itself being run at |
|
680 | You can run embedded instances even in code which is itself being run at | |
673 | the IPython interactive prompt with '%run <filename>'. Since it's easy |
|
681 | the IPython interactive prompt with '%run <filename>'. Since it's easy | |
674 | to get lost as to where you are (in your top-level IPython or in your |
|
682 | to get lost as to where you are (in your top-level IPython or in your |
General Comments 0
You need to be logged in to leave comments.
Login now