Did I find the right examples for you? yes no

All Samples(396)  |  Call(0)  |  Derive(0)  |  Import(396)
IPython: tools for interactive and parallel computing in Python.

http://ipython.org

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/tests/embed/embed1.py   antisocial(Download)
def bar(foo):
    import IPython
    IPython.embed(banner1='check f in globals, foo in locals')
 
bar(f)

src/h/u/hunch-sample-app-HEAD/django/core/management/commands/shell.py   hunch-sample-app(Download)
                # Don't bother loading IPython, because the user wants plain Python.
                raise ImportError
            import IPython
            # Explicitly pass an empty list as arguments, because otherwise IPython
            # would use sys.argv from this script.

src/a/s/astLib-0.7.0/examples/cosmologyTest/cosmologyTest.py   astLib(Download)
import numpy
import pylab
import IPython
import sys
pylab.matplotlib.interactive(True)

src/n/p/npcuda-example-HEAD/swig/test.py   npcuda-example(Download)
import numpy as np
import numpy.testing as npt
import IPython as ip
import gpuadder
 

src/w/i/winnie-HEAD/sample/indexer.py   winnie(Download)
 
 
import IPython
IPython.embed()
 

src/g/a/gae-twitter-oauth-example-HEAD/werkzeug/script.py   gae-twitter-oauth-example(Download)
        if ipython:
            try:
                import IPython
            except ImportError:
                pass

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/gui/wx/ipshell_nonblocking.py   kuma-lib(Download)
 
try:
    import IPython
except Exception,e:
    print "Error importing IPython (%s)" % str(e)

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/frontend/cocoa/cocoa_frontend.py   kuma-lib(Download)
from pprint import saferepr
 
import IPython
from IPython.kernel.engineservice import ThreadedEngineService
from IPython.frontend.asyncfrontendbase import AsyncFrontEndBase

src/m/d/mdf-HEAD/mdf/viewer/__init__.py   mdf(Download)
def _ipython_active():
    """return true if in an active IPython session"""
    try:
        import IPython
    except ImportError:
 
try:
    import IPython
    from IPython.lib import guisupport, inputhook
 

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Django-1.2.3/django/core/management/commands/shell.py   hortonworks-sandbox(Download)
                # Don't bother loading IPython, because the user wants plain Python.
                raise ImportError
            import IPython
            # Explicitly pass an empty list as arguments, because otherwise IPython
            # would use sys.argv from this script.

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next