Searched refs:module_path (Results 1 – 1 of 1) sorted by relevance
55 def try_to_import(module_path, type, def_path): argument57 if (("." not in module_path) and ("/" not in module_path)):59 loaded_module = import_module(def_path + module_path)62 if module_path[-3:] != ".py":63 module_path = module_path + ".py"65 loaded_module = imp.load_source('%s', module_path);69 print(("\n Could not load the %s %s . Does it exist?\n"% (type, module_path)))