A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1536/ below:

ipython 0.12 embed shell won't run startup scripts · Issue #1536 · ipython/ipython · GitHub

start normarl ipython session, the startup scripts run fine, but with embed shell, it won't works, script snippet looks like the following.

    import IPython

    from IPython.frontend.terminal.embed import InteractiveShellEmbed

    os.environ["IPYTHONDIR"] = "${buildout:directory}/conf/etc/ipython/"

    config = "${buildout:directory}/conf/etc/ipython/profile_default/ipython_config.py"
    cf = IPython.config.loader.PyFileConfigLoader(config)

    shell = InteractiveShellEmbed(config=cf.load_config())
    shell()

someone on mailing list had also reports a similar issue, but there is no answer so far.

http://mail.scipy.org/pipermail/ipython-user/2012-March/009810.html

thx.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4