Python Forum
[Tkinter] Anyone know what happened to my button?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Anyone know what happened to my button?
#7
(May-29-2021, 01:38 PM)Larz60+ Wrote: Because I don't have an xbee available to play with, can't run the code, so unable to diagnose.
I actually do have a bunch of older xbee's that are in a tote in my garage, but it would take a few months to find them.

I think that you should unconditionally close the device in your finally clause.
If for any reason it was not closed, the next time the codigoIniciar() function was called, you would be trying to open an already open device, I have no idea what (if any) problem that would cause.

Maybe, I think it is the general loop en the GUI. Because I only want to call one One time the codigoIniciar() .
Reply


Messages In This Thread
RE: Anyone know what happened to my button? - by IgnacioMora23 - May-29-2021, 04:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 4,997 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp

Forum Jump:

User Panel Messages

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