Python Forum
[Tkinter] help please, checking the user input and outputting the result
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] help please, checking the user input and outputting the result
#2
You don't have any of the command functions, see here http://effbot.org/tkinterbook/button.htm Also, you can only declare Tk() once without possible problems. If you want more than one window use a Toplevel, look on effbot.org Finally, pack() returns None, so b, e, l, etc is None on lines like this
b=Button(root1,text="OK", width=5, command=check1).pack()
so see https://books.google.com/books?id=q8W3WQ...ne&f=false and the pack() geometry manager on effbot as well. https://wiki.python.org/moin/TkInter
Reply


Messages In This Thread
RE: help please - by woooee - Mar-05-2019, 12:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGUI] [Solved]Help storing in user input from line edit Extra 2 1,954 May-12-2022, 07:46 PM
Last Post: Extra
  Convert combobox user input in to date with tkinter Ame 8 7,085 Jul-01-2020, 09:40 PM
Last Post: Yoriz
  Create an identification code from user input PeroPuri 1 1,989 Apr-11-2020, 11:56 AM
Last Post: Larz60+
  [PyQt] Python PyQt5 - Change label text dynamically based on user Input ppel123 1 14,029 Mar-20-2020, 07:21 AM
Last Post: deanhystad
  PyQt5: How do you set the user input of a line edit to a specific variable? YoshikageKira 17 12,348 Dec-26-2019, 03:18 PM
Last Post: Denni
  [Tkinter] Is there a way to sleep without stopping user input? GalaxyCoyote 2 2,245 Oct-23-2019, 06:23 PM
Last Post: Denni
  [PyGUI] Hi All, how to hide/mask user input in PySimpleGUI nmrt 1 15,204 Sep-21-2018, 09:59 AM
Last Post: nmrt

Forum Jump:

User Panel Messages

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