[IPython-User] embedding..

Matthew Brett matthew.brett@gmail....
Sat Aug 6 16:46:43 CDT 2011


Hi guys,

Should I expect this to work?

<embed_me.py>
def func():
    a = 3
    from IPython.Shell import IPShellEmbed
    ipshell = IPShellEmbed()
    ipshell()
</embed_me.py>

python embed_me.py ?

It just returns to the shell silently and looks at me like I'm an idiot.

See y'all,

Matthew


More information about the IPython-User mailing list