def try_import(module):
 from importlib import import_module
 try:
  return import_module(module)
 except ImportError:
  pass

def try_import ( module ) : from importlib import import_module try : return import_module ( module ) except ImportError : pass
try to import and return module .