๋ชจ๋ ์ค์น pip install gtts "์๋ ํ์ธ์" ๋ผ๊ณ ๋งํ๋ ์์ฑ ํ์ผ์ด tts.save('path') ์์ ๊ฒฝ๋ก์ ์ ์ฅ๋๋ค. from gtts import gTTS def speak(text): tts = gTTS(text=text, lang='ko') tts.save('./hello.mp3') speak("์๋ ํ์ธ์.") ์ด๋ฏธ ์ ์ฅ๋์ด ์๋ ํ ์คํธ ํ์ผ์ ์ฝ์ด์ ์์ฑ ํ์ผ๋ก ์ ์ฅํ๋ค. from gtts import gTTS # ํ์ผ ๊ฒฝ๋ก textpath = './test.txt' # ํ์ผ ์ฝ๊ธฐ with open(textpath, mode='r', encoding='UTF-8') as text: script = text.read() # ๊ฐํ ๋ฌธ์ ์ ๊ฑฐ script.replace('\n', '')..