Hello, I’d like to play a sound from my workspace, I believe this is the correct path:
So I’m using pydub to play this:
song = AudioSegment.from_wav("/home/ubuntu/workspace/audio/test.wav")
The result is this error:
IOError: [Errno 2] No such file or directory: ‘home/ubuntu/workspace/audio/test.wav’
I saw a similar topic where a guy was reading a CSV but having the home path doesn’t make any difference. Am I structuring this path correctly?