Import Utils#

get_from_module(module_name, entry_name)[source]#

Imports a module and returns it desired member if existed.

Parameters
  • module_name (str) -- name of the module

  • entry_name (str) -- name of the definition within the module.

Returns

Any -- the desired definition in the given module if existed; None otherwise.