![]() If (len(text_entry.get("1.0","end-1c"))1: To check if the user enters a text in the source language text box, we check the length. #check if the source and target languages are empty #explicitly given source and destination languages Define translate_function #Since default options are allowed, we check for ![]() Tkinter also supports mouse movements and clicks.Ģ. It contains widgets to take user input and buttons to perform a certain function. From tkinter import *: Tkinter is used to create the GUI of the python language translator.We will use showerrors and showinfo in this project Showerrors, askyesorno, showinfo are some messagebox prompts. from tkinter import messagebox: Messagebox displays a prompt or a dialog box based on conditions set. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |