Is it possible to open an mp3 file in Python (possible using Popen
) and I don't mean to run it in the program I mean as a separate window in media player or whatever just for it to open it when I call the function and if so how?
Opening a file with its associated application (Windows only):
import os
os.startfile('my_mp3.mp3')
A link to the documentation can be found here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With