code: def import_spydercustomize():
      
      here = osp.dirname(__file__)
      parent = osp.dirname(here)
      customize_dir = osp.join(parent, 'customize')
  
      # Remove current directory from sys.path to prevent kernel
      # crashes when people name Python files or modules with
      # the same name as standard library modules.
      # See spyder-ide/spyder#8007
      while '' in sys.path:
          sys.path.remove('')
  
      # Import our customizations
      site.addsitedir(customize_dir)
      import spydercustomize
  
      # Remove our customize path from sys.path
      try:
          sys.path.remove(customize_dir)
      except ValueError:
          pass
docs: Import our customizations into the kernel.