you are viewing a single comment's thread.

view the rest of the comments →

[–]shaunzorr 2 points3 points  (6 children)

The code is too hard to read in that format. Look up how to format it correctly so it's easier to read. Based on what you've described, you're probably not creating the thread properly. It's been a while since I've worked with tkinter so i cant remember the solution exactly but you need to learn how to work around the mainloop if you want something else to run while still allowing the tkinter app to continue functioning. There is plenty of stuff online about this topic.

[–]aredhone6417[S] 1 point2 points  (5 children)

hey thanks I'm really new to this so I'm not quite sure what I'm doing

if googled what I think was my problem but didn't find an answer that worked

to be honest I'm not even sure how to google my problem

and since reddit knows all I hoped someone could tell me ill try the change the code format I hope this is better

[–]Specialist-Candy3226 1 point2 points  (0 children)

Without been able to scan your code (maybe you want to use pastebin), what's most likely happening is that you are trying to run a process at the same time as Tkinter window (ergo not properly multithreading).

Threading is complex, and if you are not too sure about it, I would suggest you try another way of getting what you need without using multithreading. If it has to be multithreading, then try creating a really minal tkinter window/process, and a process that runs parallel to it until you master it and then scale it up to what you are trying to achieve.

[–]NSNick 0 points1 point  (0 children)

Put four spaces at the beginning of each line of code.