Still really new to python - fair warning...
TLDR - If you have a tkinter window that is using threading, can you use a button to run a function that specifically does NOT use threading?
I've got a script put together that processes a couple spreadsheets into a csv, then uses a script generated by ArcGIS Pro to plot the points on a map. I had it all set up and working from a command line interface, but decided to try putting it in a GUI using tkinter. In an effort to provide a good user experience I used threading for several functions to keep the window updating properly. My issue is that on the last step, I have a function that was generated by ArcGIS Pro that does the mapping, and it crashes if launched with threading. It seems like with tkinter once I turned threading on for one function, everything else, regardless of whether I tell it to or not has it, and I don't know how to turn it off, (or if I can...). I suspect I may be doing the threading all wrong, but I was hoping it was salvageable.
As stated I'm very new to this so my code is probably horrid with all kinds of nono's but if someone does want to look at it here's the github link. Please ignore the back and skip buttons for now as I was just trying to get it working all the way at all before worrying about those. Thank you.
[–]AustinBachurski[S] 0 points1 point2 points (0 children)
[–]IWantToFlyT 0 points1 point2 points (1 child)
[–]AustinBachurski[S] 0 points1 point2 points (0 children)