class_docstr: A Mixin for applications that start InteractiveShell instances.
  
  Provides configurables for loading extensions and executing files
  as part of configuring a Shell environment.
  
  The following methods should be called by the :meth:`initialize` method
  of the subclass:
  
    - :meth:`init_path`
    - :meth:`init_shell` (to be implemented by the subclass)
    - :meth:`init_gui_pylab`
    - :meth:`init_extensions`
    - :meth:`init_code`
class_docstr_tok: ["A","Mixin","for","applications","that","start","InteractiveShell","instances",".","Provides","configurables","for","loading","extensions","and","executing","files","as","part","of","configuring","a","Shell","environment",".","The","following","methods","should","be","called","by","the",":","meth",":","`","initialize","`","method","of","the","subclass",":","-",":","meth",":","`","init_path","`","-",":","meth",":","`","init_shell","`","(","to","be","implemented","by","the","subclass",")","-",":","meth",":","`","init_gui_pylab","`","-",":","meth",":","`","init_extensions","`","-",":","meth",":","`","init_code","`"]
docstr: Run lines of code in IPythonApp.exec_lines in the user's namespace.
docstr_tok: ["Run","lines","of","code","in","IPythonApp.exec_lines","in","the","user","'s","namespace","."]
code: def _run_exec_lines(self):
      """Run lines of code in IPythonApp.exec_lines in the user's namespace."""
      if not self.exec_lines:
          return
      try:
          self.log.debug("Running code from IPythonApp.exec_lines...")
          for line in self.exec_lines:
              try:
                  self.log.info(
                      "Running code in user namespace: %s" % line
                  )
                  self.shell.run_cell(line, store_history=False)
              except:
                  self.log.warning(
                      "Error in executing line in user "
                      "namespace: %s" % line
                  )
                  self.shell.showtraceback()
      except:
          self.log.warning(
              "Unknown error in handling IPythonApp.exec_lines:"
          )
          self.shell.showtraceback()
  
imports: import glob
  from itertools import chain
  import os
  import sys
  from traitlets.config.application import boolean_flag
  from traitlets.config.configurable import Configurable
  from traitlets.config.loader import Config
  from IPython.core.application import SYSTEM_CONFIG_DIRS, ENV_CONFIG_DIRS
  from IPython.core import pylabtools
  from IPython.utils.contexts import preserve_keys
  from IPython.utils.path import filefind
  from traitlets import Unicode, Instance, List, Bool, CaselessStrEnum, observe, DottedObjectName
  from IPython.terminal import pt_inputhooks
label_desc: Use image node_id 7 for calling the InteractiveShellApp obj's underlying member method code with example usage: obj._run_exec_lines() without return types