Wpis z mikrobloga

@kwiat_2_0: from gtts import gTTS
import os

outputfolder = "ścieżka/do/folderuzplikamiaudio"
if not os.path.exists(outputfolder):
os.makedirs(output
folder)

for i in range(1, 256):
text = str(i)
tts = gTTS(text, lang="pl")
filepath = os.path.join(outputfolder, f"liczba{i}.mp3")
tts.save(file
path)

Python, gTTS musisz pipem doinstalowac
@kwiat_2_0:
ubuntu@localhost:~/tmp$ for i in $(seq 1 255); do echo $i > $i; done
ubuntu@localhost:~/tmp$ ls
1 105 111 118 124 130 137 143 15 156 162 169 175 181 188 194 20 206 212 219 225 231 238 244 250 27 33 4 46 52 59 65 71 78 84 90 97
10 106 112 119 125 131 138 144 150 157 163 17 176 182 189 195 200 207