##// END OF EJS Templates
Fixing two small bugs in :mod:`IPython.kernel`....
Fixing two small bugs in :mod:`IPython.kernel`. * In :mod:`IPython.kernel.launcher` we were not handling the lookup of ``job.exe`` properly on Windows if the HPC pack was not installed. * When :mod:`IPython.kernel.client` was imported, Twisted was giving warnings that we have silenced.

File last commit:

r2288:3832d344
r2520:16ce76c4
Show More
new-embed.py
17 lines | 283 B | text/x-python | PythonLexer
# This shows how to use the new top-level embed function. It is a simpler
# API that manages the creation of the embedded shell.
from IPython import embed
a = 10
b = 20
embed('First time')
c = 30
d = 40
try:
raise Exception('adsfasdf')
except:
embed('The second time')