def _generateEvent(command, args, extraArgs={}): eg = EventGenerator() eg.sendEvent(command, args, extraArgs)