Python Forum
2 buttons to run 2 different functions?
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 buttons to run 2 different functions?
#3
Just to follow up - I would not recommend using the code I posted above. Not sure if the problem is the script, python itself, the PySimpleGui library, my environment/setup, or the IDE (Spyder). I can run 3 times and get 3 different results, without changing ANYTHING in the code or input. Python 3.5 crashes after every 2nd script run (not sure what that's all about).
Thought I was making progress on this project, but it appears I have to start over and find a more stable way to build a UI with python.

I just don't want somebody else potentially seeing and using the solution I posted above.
Reply


Messages In This Thread
RE: 2 buttons to run 2 different functions? - by JP_ROMANO - Jan-10-2019, 02:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] how to add two buttons with different functions in Tk LinuxLife 8 4,094 Mar-28-2022, 04:59 PM
Last Post: Barrowman

Forum Jump:

User Panel Messages

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