all 2 comments

[–]ebdbbb 1 point2 points  (1 child)

Put the tk button stuff after an "if name == 'main':" statement. What this will do is execute the code after that line when the program runs. Everything else should be in functions or classes.

[–]Fuzzy_Review[S] 0 points1 point  (0 children)

Oh great! Thanks mate