Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

IPython shell (See related posts)

// "%PYTHON%" -i -c ..."
from Zope2 import configure; 
import os; 
configure(os.environ['ZOPE_CONFIG_FILE']); 

import Zope2; 
app=Zope2.app(); 

ns={'__name__':'blah','app':app};

import IPython; 
IPython.Shell.IPShell(user_ns=ns).mainloop(sys_exit=1);

You need to create an account or log in to post comments to this site.


Click here to browse all 4861 code snippets

Related Posts