4
To expand knowledge, I decided to start a new programming language, Python, and locked in the following situation, I have a screen with some elements and a text box of type Entry
.
To define the text box, I used the following code:
self.form = Entry(self.frame2)
self.form.pack()
I did some basic research, however the staff changes Entry
for Text
and defines width
and heigth
. I tried to use, but at the time I use form.get()
to capture the text, an error appears:
Typeerror: get() Missing 1 required positional argument: 'index1'
Would you like to know how to set width and height of the Entry
?
Wrong tag...the problem is not with python, but with the Tkinter module.
– zentrunix