I'm writing an application using Python3 and Tkinter. The views/ directory contain multiple modules, including one called commonDlgs.py. This contains classes (such as those for validating data entry) used by all the data entry views. Some classes in commonDlgs imports other modules.
My question is whether to import into each view class those modules needed by it or import all supporting modules at the top of commonDlgs.py, then import that module in each view with: from . import commonDlgs as cd rather than importing specific classes in each view module? Rich -- https://mail.python.org/mailman/listinfo/python-list