10. Write a python Tkinter program to display three text box in order to fill the information of student name, student id and password. After filling in all the information, the submit button must be appeared for submission purpose.
The output is:
Sample Answer:
import tkinter as tk window = tk.Tk() window.geometry("400x250") name = tk.Label(window, text = "Student Name:").place(x = 30, y = 50) email = tk.Label(window, text = "Student ID:").place(x = 30, y = 90) password = tk.Label(window, text = "Password:").place(x = 30, y = 130) sbmitbtn = tk.Button(window, text = "Submit", activebackground = "green", activeforeground = "blue").place(x = 120, y = 170) entry1 = tk.Entry(window).place(x = 115, y = 50) entry2 = tk.Entry(window).place(x = 115, y = 90) entry3 = tk.Entry(window).place(x = 115, y = 130) window.mainloop()
More Exercises:
Python String ExercisesMore Numpy Exercises:
Numpy String ExercisesMore Pandas Exercises:
Pandas Series ExercisesMore Tutorials:
Python Installation - Linux (Ubuntu)