code: def module_completer(self, event):
      """Give completions after user has typed 'import ...' or 'from ...'"""
  
      # This works in all versions of python.  While 2.5 has
      # pkgutil.walk_packages(), that particular routine is fairly dangerous,
      # since it imports *EVERYTHING* on sys.path.  That is: a) very slow b) full
      # of possibly problematic side effects.
      # This search the folders in the sys.path for available modules.
  
      return module_completion(event.line)
  
imports: from __future__ import print_function
  import glob
  import inspect
  import itertools
  import os
  import re
  import sys
  from time import time
  from zipimport import zipimporter
  from IPython.core.completer import expand_user, compress_user
  from IPython.core.error import TryNext
  from IPython.utils._process_common import arg_split
  from IPython.utils.py3compat import string_types
  from IPython import get_ipython
  from __res import importer
label_desc: Use image node_id 10 for calling a global function with example usage: module_completer(event) and returns: module_completion