Python Forum
Help pulling tkinter Entry string data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help pulling tkinter Entry string data
#4
If y is within the confines of a class, and the StringVar is external from the method that it is used in,
both the definition of the variable and the use of same must reference self.
self.y = tk.StringVar()
SpeedInput = tk.Entry(root, textvariable = self.y)
speed = int(self.y.get())
Reply


Messages In This Thread
Help pulling tkinter Entry string data - by Raudert - Jan-12-2017, 03:18 AM
RE: Help pulling tkinter Entry string data - by Larz60+ - Jan-12-2017, 04:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to open a popup window in tkinter with entry,label and button lunacy90 1 977 Sep-01-2023, 12:07 AM
Last Post: lunacy90
  Pulling Specifics Words/Numbers from String bigpapa 2 826 May-01-2023, 07:22 PM
Last Post: bigpapa
  Having trouble installing scikit-learn via VSC and pulling my hair out pythonturtle 1 803 Feb-07-2023, 02:23 AM
Last Post: Larz60+
  Tkinter Entry size limit vman44 3 7,047 Dec-22-2022, 06:58 AM
Last Post: vman44
  (Python) Pulling data from UA Google Analytics with more than 100k rows into csv. Stockers 0 1,286 Dec-19-2022, 11:11 PM
Last Post: Stockers
  Pulling username from Tuple pajd 21 3,661 Oct-07-2022, 01:33 PM
Last Post: pajd
  Auto increament in Entry field. in tkinter GUI cybertooth 7 4,273 Sep-17-2021, 07:56 AM
Last Post: cybertooth
  pulling multiple lines from a txt IceJJFish69 3 2,643 Apr-26-2021, 05:56 PM
Last Post: snippsat
  data from multiple Entry widgets beevee 13 4,676 Aug-16-2020, 12:31 PM
Last Post: deanhystad
  Pulling Information Out of Dictionary Griever 4 2,943 Aug-12-2020, 02:34 PM
Last Post: Griever

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020