Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9516da56eca7dd3ad63d98588d8ad261 > files > 2653

ipython-1.1.0-3.mga4.noarch.rpm

"""This tests standard embedding, automatically detecting the module and
local namespaces."""

f = set([1,2,3,4,5])

def bar(foo):
    import IPython
    IPython.embed(banner1='check f in globals, foo in locals')

bar(f)