#!python

# gTTS TXT File to MP3

import os
from gtts import gTTS
from glob import glob

for f in glob("*.txt"):
	with open(f) as file:
		t = gTTS(file.read(), "en")
	t.save(os.path.splitext(f)[0] + ".mp3")

for f in glob("*.mp3"):
	os.startfile(f)

0b9188e9dfc3152737cef25bca9c88c7f877806e
<mask token>

<mask token>
for f in glob('*.txt'):
    with open(f) as file:
        t = gTTS(file.read(), 'en')
    t.save(os.path.splitext(f)[0] + '.mp3')
for f in glob('*.mp3'):
    os.startfile(f)

import os
from gtts import gTTS
from glob import glob
for f in glob('*.txt'):
    with open(f) as file:
        t = gTTS(file.read(), 'en')
    t.save(os.path.splitext(f)[0] + '.mp3')
for f in glob('*.mp3'):
    os.startfile(f)

#!python

# gTTS TXT File to MP3

import os
from gtts import gTTS
from glob import glob

for f in glob("*.txt"):
	with open(f) as file:
		t = gTTS(file.read(), "en")
	t.save(os.path.splitext(f)[0] + ".mp3")

for f in glob("*.mp3"):
	os.startfile(f)
