It is used to input the single line text entry from the user.. For multi-line text input, Text widget is used.
The general syntax is:
textbox=Entry(win, option=value)
win is the parameter used to represent the parent window.
There are number of options which are used to change the format of the widget. Number of options can be passed as parameters separated by commas. Some of them are listed below.
Example:
from Tkinter import *
win=Tk()
win.title('My Textbox')
win.geometry('350x250')
textbox=Entry(win)
textbox.pack()
win.mainloop()