Play MP3 file using Python Programming
Thanks for the previous help !
Taking forward the task mentioned in Task 1 now again, i need some help to play the MP3 file, which I was able to successfully create using the answer provided.
Current code :
from gtts import gTTS str_text = 'This is a text message.' speech_obj = gTTS(text=str_text) speech_obj.save("test.mp3")
CODERECUR, I seek your support again !