For some reason, this Button is automatically calling bot_analysis_frame
without the button being pressed. I'm guessing it's because the command
is a function with arguments.
Is there a way to have the button only call this function and pass the required variables only upon being pressed?
Button(topAnalysisFrame, text='OK', command=bot_analysis_frame(eventConditionL, eventBreakL)).pack(side=LEFT)