0

starting with-->

from playsound import playsound playsound('E:\Python notes\chapter_1_python\startup windowsxp.mp3')

 Error 259 for command:
        play "C:\Users\NISHUR~1\AppData\Local\Temp\PSemv_hxed.mp3" wait
    The driver cannot recognize the specified command parameter.   
Traceback (most recent call last):
  File "e:\Python notes\chapter_1_python\03_practice_03.py", line 2, in <module>
    playsound('E:\\Python notes\\chapter_1_python\\startup windowsxp.mp3')
  File "E:\Python\Lib\site-packages\playsound.py", line 44, in _playsoundWin
    _playsoundWin(tempPath, block)
  File "E:\Python\Lib\site-packages\playsound.py", line 73, in _playsoundWin
    winCommand(u'play {}{}'.format(sound, ' wait' if block else ''))
  File "E:\Python\Lib\site-packages\playsound.py", line 64, in winCommand
    raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
    Error 259 for command:
        play "C:\Users\NISHUR~1\AppData\Local\Temp\PSemv_hxed.mp3" wait
    The driver cannot recognize the specified command parameter.

I've tried to change the mp3 but got the same issue here.

Nishuraj6
  • 1
  • 2

0 Answers0