new_contents: #!/usr/bin/env python
  # -*- coding: UTF-8 -*-
  
  def import_by_name(modulename, name):
      """import a named object from a module."""
      try:
          module = __import__(modulename, globals(), locals(), [name])
      except ImportError:
          return None
      return getattr(modulename, name)
  
subject: add builtinim/mod.py for module related operations.