Tkinter UI Script running an imported function on startup
So I've posted here a few times already and I'm still working on my BibleBot for twitch (an application that will read the twitch chat for a command with a scripture reference, and return to chat that verse).
Right now I'm designing a UI (my first time using Tkinter) for it so that anybody can run it from their computer, and the problem is when I run my UI script, it automatically runs my main function! I've not programmed too much of the UI so it should be easy to figure out but I'm too much of a noob to see what's going on!
I'm using PyCharm as my IDE and I do have my configuration setup to run from the ui.py script, but it automatically runs run.py on startup. It feels like it could be an IDE issue but I'm still too new to Python to know!
Code: https://github.com/cgoeller919/BibleBot
Any insight on this would be much appreciated :)
Posted Jul 16, 2017, 9:20 PM UTC