+ 1

how do you attach a tkinter file to a python program?

the python file is an insta bot that is written in a class

4th Mar 2020, 9:05 PM
sunny stone
sunny stone - avatar
2 Answers
+ 1
Your program will have a main file where the tkinter window would be created. From here you start to expand your application when adding functionality to it. You could import the class into the main tkinter file and call to the functions in there. This would also makes sense since the logic behind the program should also work without the tkinter window. And its good practice to seperate the logic from eachother.
4th Mar 2020, 9:34 PM
Ruben Eekhof
Ruben Eekhof - avatar
+ 1
thanks
4th Mar 2020, 9:36 PM
sunny stone
sunny stone - avatar