def import_module(name):
try:<EOL><INDENT>return importlib.import_module(name)<EOL><DEDENT>except ImportError:<EOL><INDENT>return None<EOL><DEDENT>
Attempt to import a module; returns None if unsuccessful.