play mp3 without default player
问题 I'm trying play mp3 without default player use, so I want try pyglet, but nothing works import pyglet music = pyglet.resource.media('D:/folder/folder/audio.mp3') music.play() pyglet.app.run() I've tried it this way music = pyglet.resource.media('D:\folder\folder\audio.mp3') and like this: music = pyglet.resource.media('D:\\folder\\folder\\audio.mp3') but have this error Traceback (most recent call last): File "C:\Users\User\AppData\Roaming\Python\Python35\site-packages\pyglet\resource.py",