def load_modules(self, modules_list, user_modules):
for module in modules_list:<EOL><INDENT>if module in self.modules:<EOL><INDENT>continue<EOL><DEDENT>try:<EOL><INDENT>my_m = Module(module, user_modules, self)<EOL>if my_m.methods:<EOL><INDENT>self.modules[module] = my_m<EOL><DEDENT>elif self.config["<STR_LIT>"]:<EOL><INDENT>self.log('<STR_LIT>'.format(module))<EOL><DEDENT><DEDENT>except Exception:<EOL><INDENT>err = sys.exc_info()[<NUM_LIT:1>]<EOL>msg = '<STR_LIT>'.format(module, err)<EOL>self.report_exception(msg, level="<STR_LIT>")<EOL><DEDENT><DEDENT>
Load the given modules from the list (contains instance name) with
respect to the user provided modules dict.

modules_list: ['weather_yahoo paris', 'net_rate']
user_modules: {
    'weather_yahoo': ('/etc/py3status.d/', 'weather_yahoo.py')
}