Is there a module out there that would let me send a predetermined list of midi messages to a MIDI device in such a way that the timing would be precise enough for music?
Probably. I haven't tried it but I'd look first at pygame. Maybe first at:
http://www.pygame.org/wiki/MidiScheduler -- DaveA -- https://mail.python.org/mailman/listinfo/python-list