Is it possible to play or make music in Python?

Recommended Answers

All 3 Replies

Simplest way to play sound is to import webbrowser and do 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, learning, and sharing knowledge.