Is it possible to play or make music in Python?

Simplest way to play sound is to import webbrowser and do webbrowser.open for the sound file. It uses the associated player for the file type. Other possibility is to for example to use pyGame's sound feature as above related Code Snippet for MIDI files.

Right then, thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.