Python Forum
Problem using a button with tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem using a button with tkinter
#7
(Jul-02-2020, 07:58 PM)Yoriz Wrote: Move your conversions to the start of the else statement, so you are checking for valid input before trying to convert.

Oh, it was just it. Thank you very much!
Reply


Messages In This Thread
RE: Problem using a button with tkinter - by Yoriz - Jul-02-2020, 07:40 PM
RE: Problem using a button with tkinter - by Yoriz - Jul-02-2020, 07:47 PM
RE: Problem using a button with tkinter - by Yoriz - Jul-02-2020, 07:58 PM
RE: Problem using a button with tkinter - by SmukasPlays - Jul-02-2020, 08:06 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 931 Sep-01-2023, 12:07 AM
Last Post: lunacy90
  Tkinter button images not showing up lunacy90 7 1,641 Aug-31-2023, 06:39 PM
Last Post: deanhystad
Bug tkinter.TclError: bad window path name "!button" V1ber 2 834 Aug-14-2023, 02:46 PM
Last Post: V1ber
  tkinter layout problem agentperry 4 1,695 Jan-26-2022, 08:18 PM
Last Post: BashBedlam
  Closing Threads and the chrome window it spawned from Tkinter close button law 0 1,736 Jan-08-2022, 12:13 PM
Last Post: law
  tkinter auto press button kucingkembar 2 3,219 Dec-24-2021, 01:23 PM
Last Post: kucingkembar
  problem with libspatialindex using tkinter Timych 1 1,775 Aug-05-2020, 11:39 AM
Last Post: buran
  Use a button in Tkinter to run a Python function Pedroski55 4 3,315 Jun-28-2020, 05:02 AM
Last Post: ndc85430
  Function assigned at a button in tkinter riccardoob 9 4,224 Oct-06-2019, 11:14 AM
Last Post: riccardoob
  tkinter button executes button before being clicked SheeppOSU 1 3,820 Apr-01-2019, 10:51 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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