Creating new actuators from within a python controller

This is probably FAQ but I havent been able to find an answer on my own:

Is there a way to create an actuator from a python controller script rather than linking to one that is already set up via the logic bricks interface?

I want to create several objects in a single time step where the number of objects is variable. It seemed like the easiest way to do this would be to create N new editobject actuators on the fly from the python script – where N is the number of objects I want to add in that frame – then delete them once I’ve used them to create the objects.

The only other way I can think of doing this is to add M editobject actuators to the python controller from the logic bricks interface – where M is the max number of objects I would ever want to create in a single frame – which seems like a rather inelegant way of doing things.

you can’t create/remove/modify connections of actuators in python [or controllers, or sensors] in python