(s='')
return km_from_string(km.connection_file)
Create a new IPython kernel (optionally with extra arguments)

    XXX: Allow passing of profile information here

    Examples
    --------

        new_ipy()
Create a new IPython kernel (optionally with extra arguments)
Create a new IPython kernel ( optionally with extra arguments )
def new_ipy(s=''):
    """Create a new IPython kernel (optionally with extra arguments)

    XXX: Allow passing of profile information here

    Examples
    --------

        new_ipy()

    """
    from IPython.kernel import KernelManager
    km = KernelManager()
    km.start_kernel()
    return km_from_string(km.connection_file)
def new_ipy ( s = '' ) : from IPython . kernel import KernelManager km = KernelManager ( ) km . start_kernel ( ) return km_from_string ( km . connection_file )