def requireModule(name, default=None):
 try:
  return namedModule(name)
 except ImportError:
  return default

def requireModule ( name , default = None ) : try : return namedModule ( name ) except ImportError : return default
try to import a module given its name .