environment/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py
def start_kernel(self, notebook_id=None, **kwargs):
        """Start a kernel for a notebok an return its kernel_id.

        Parameters
        ----------
        notebook_id : uuid
            The uuid of the notebook to associate the new kernel with. If this
            is not None, this kernel will be persistent whenever the notebook
            requests a kernel.
        """
        kernel_id = self.kernel_for_notebook(notebook_id)
        if kernel_id is None:
            kwargs['extra_arguments'] = self.kernel_argv
            kernel_id = super(MappingKernelManager, self).start_kernel(**kwargs)
            self.set_kernel_for_notebook(notebook_id, kernel_id)
            self.log.info("Kernel started: %s" % kernel_id)
            self.log.debug("Kernel args: %r" % kwargs)
        else:
            self.log.info("Using existing kernel: %s" % kernel_id)
        return kernel_id
def start_kernel(self, notebook_id=None, **kwargs):
        kernel_id = self.kernel_for_notebook(notebook_id)
        if kernel_id is None:
            kwargs['extra_arguments'] = self.kernel_argv
            kernel_id = super(MappingKernelManager, self).start_kernel(**kwargs)
            self.set_kernel_for_notebook(notebook_id, kernel_id)
            self.log.info("Kernel started: %s" % kernel_id)
            self.log.debug("Kernel args: %r" % kwargs)
        else:
            self.log.info("Using existing kernel: %s" % kernel_id)
        return kernel_id
def start_kernel ( self , notebook_id = None , * * kwargs ) : kernel_id = self . kernel_for_notebook ( notebook_id ) if kernel_id is None : kwargs [ 'extra_arguments' ] = self . kernel_argv kernel_id = super ( MappingKernelManager , self ) . start_kernel ( * * kwargs ) self . set_kernel_for_notebook ( notebook_id , kernel_id ) self . log . info ( "Kernel started: %s" % kernel_id ) self . log . debug ( "Kernel args: %r" % kwargs ) else : self . log . info ( "Using existing kernel: %s" % kernel_id ) return kernel_id
Start a kernel for a notebok an return its kernel_id.

        Parameters
        ----------
        notebook_id : uuid
            The uuid of the notebook to associate the new kernel with. If this
            is not None, this kernel will be persistent whenever the notebook
            requests a kernel.
Start a kernel for a notebok an return its kernel_id .