Playing snippets from midi files on python 3
===

I'm looking for a program that can help play MIDI files in real-time to go with Python 3, but I need such a program to let me play sections from the MIDI file of any length, starting from and ending at anywhere in the piece. 

I've searched online and seen many programs that can play MIDI files from beginning to end and programs that can play musical notes, but I haven't been able to find one specifically for the version of Python that I have.

I'm also overwhelmed because there are so many third-party programs online which all provide the same thing.

Can anyone help? Thanks.