environment/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py
def initialize(self, argv=None):
        """Do actions after construct, but before starting the app."""
        super(TerminalIPythonApp, self).initialize(argv)
        if self.subapp is not None:
            # don't bother initializing further, starting subapp
            return
        if not self.ignore_old_config:
            check_for_old_config(self.ipython_dir)
        # print self.extra_args
        if self.extra_args and not self.something_to_run:
            self.file_to_run = self.extra_args[0]
        self.init_path()
        # create the shell
        self.init_shell()
        # and draw the banner
        self.init_banner()
        # Now a variety of things that happen after the banner is printed.
        self.init_gui_pylab()
        self.init_extensions()
        self.init_code()
def initialize(self, argv=None):
        super(TerminalIPythonApp, self).initialize(argv)
        if self.subapp is not None:
            # don't bother initializing further, starting subapp
            return
        if not self.ignore_old_config:
            check_for_old_config(self.ipython_dir)
        # print self.extra_args
        if self.extra_args and not self.something_to_run:
            self.file_to_run = self.extra_args[0]
        self.init_path()
        # create the shell
        self.init_shell()
        # and draw the banner
        self.init_banner()
        # Now a variety of things that happen after the banner is printed.
        self.init_gui_pylab()
        self.init_extensions()
        self.init_code()
def initialize ( self , argv = None ) : super ( TerminalIPythonApp , self ) . initialize ( argv ) if self . subapp is not None : # don't bother initializing further, starting subapp return if not self . ignore_old_config : check_for_old_config ( self . ipython_dir ) # print self.extra_args if self . extra_args and not self . something_to_run : self . file_to_run = self . extra_args [ 0 ] self . init_path ( ) # create the shell self . init_shell ( ) # and draw the banner self . init_banner ( ) # Now a variety of things that happen after the banner is printed. self . init_gui_pylab ( ) self . init_extensions ( ) self . init_code ( )
Do actions after construct, but before starting the app.
Do actions after construct but before starting the app .