Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to store the input from the text box in python

# use the get() function but with some additional attributes.
# If we have a text box textbox_input, then you can return its input using this line:

test_input = textbox_input.get("1.0",END)

# The first part, "1.0" means that the input should be read from line one, 
# character zero (ie: the very first character). END is an imported constant 
# which is set to the string "end". The END part means to read until the end of the text box 
# is reached.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #store #input #text #box #python
ADD COMMENT
Topic
Name
6+9 =