<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def trigger_event(self, module_name, event):
 """ Trigger an event on a named module. """

        if module_name:
            self._py3_wrapper.events_thread.process_event(module_name, event)