D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound
with al local wav-file I get this error:
File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 72, in _playsoundWin
winCommand(u'open {}'.format(sound))
File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 64, in winCommand
raise PlaysoundException(exceptionMessage)
When copying all files to 'E:\Temp' everything works fine. I suspect the path handling doesn't like the original path.
When running from a certain path:
D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound
with al local wav-file I get this error:
File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 72, in _playsoundWin
winCommand(u'open {}'.format(sound)) File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 64, in winCommand
raise PlaysoundException(exceptionMessage)
When copying all files to 'E:\Temp' everything works fine. I suspect the path handling doesn't like the original path.