Different scripts in python

How can I make my code small? think in one script (main menu) calling different scripts according to selection

You can make your code smaller by using modular programming. This means breaking down your code into different functions or scripts that can be called upon when needed. This allows for better organization of code and also helps reduce the size of the code. You can also use variables and other techniques to reduce the amount of code needed to accomplish a task.

the problem is I don’t know how to do it from tkinter.
I’ve tried several ways but do not work

thanks for your answer.
how an I send you the piece of code?

I just made great advance, I could call an external module from my menu but still have some problems returning to the main window

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.