Software made with python tkinter || convert text into audio file || python tutorial in Hindi
Автор: Python tutorial in hindi
Загружено: 2020-12-01
Просмотров: 70
Dosto agar aapko ye video boring lag rha ho to 2x ki speed me dekhiye 🙂. Is video me aapko python tkinter ka gui based software milega. Is program ke through aap kisi bhi text ko audio file me convert kar sakte h. Aur sath hi sath Mai usse aapko exe file me convert karke bhi bataunga.
Thanks for watching
-----------------------------------------------------------------------
Modules to be downloaded:--
1) Google text to speech module
command "pip install gtts"
2) Python file to exe converter
command "pip install pyinstaller"
----------------------------------------------------------------------
Videos that may be useful:---
Pip is not recognized as an internal or external command
Link:-- • pip is not recognized as an internal or ex...
----------------------------------------------------------------------
Social Links:--
Instagram :-- / onkarjha2003
Twitter :-- / onkarjha2003
----------------------------------------------------------------------
#onkarjha
-----------------------------------------------------------------------
#codemadebyonkarjha
from tkinter import *
from gtts import gTTS
win=Tk()
win.title("Google Text To Speech")
filename=StringVar()
text=StringVar()
def exitt():
win.destroy()
def save():
language = 'en'
myfile=filename.get()
mytext=text.get()
myobj = gTTS(text=mytext, lang=language, slow=False)
myobj.save(myfile+".mp3")
Label(win,text="Convert your text into audio").grid(row=0,column=0)
Label(win,text="File Name:--").grid(row=1,column=0)
q=Entry(win,textvariable=filename,width=40).grid(row=1,column=1)
Label(win).grid(row=2,column=0) Label(win,text="Text:--").grid(row=3,column=0) w=Entry(win,width=40,textvariable=text).grid(row=3,column=1) e=Button(win,text="Exit",command=exitt).grid(row=4,column=0) r=Button(win,text="Save",command=save).grid(row=4,column=1)
win.mainloop()
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: