I am trying to convert .mp3 extension file to .wav. This is my simple code.
from pydub import AudioSegment
sound = AudioSegment.from_mp3("english.mp3")
sound.export("/converted", format="wav")
After executing this code it shows IOError: [Errno 13] Permission denied: '/converted'
.
I changed permission for this directory.But still it shows same error please help me.
by the code audio_segment.py you need to set file path, mean full file path: