Python Forum
[xbmc] How to block the code from executed twice under the loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[xbmc] How to block the code from executed twice under the loop
#6
Also found to be calling people idiots on stack overflow and loosing temper. Edit: stack overflow post has been deleted before op blew his top.
I wonder if this will happen again

So it looks like the same id is not being loop more than once because the program_id's are unique

The program_id does not change as it goes through the code in the loop so you only need to obtain the control once.

I expect you to debug it properly with print statements as no one else has the ability to run the code to reproduce the error and track down what is happening.
Reply


Messages In This Thread
RE: How to block the code from executed twice under the loop - by Yoriz - Oct-25-2016, 12:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] messagebox is not being executed please help erwinsiuda 2 2,382 Apr-02-2020, 01:56 AM
Last Post: Larz60+
  [Tkinter] Window unresponsive when executed. fawazcode 2 3,890 Sep-11-2017, 12:29 AM
Last Post: Larz60+
  [WxPython] Which def is executed? merlem 10 8,043 Feb-10-2017, 11:28 AM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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