import * works but it is not recommended in packages. See for example this old thread where pyhon authors discuss it https://bugs.python.org/issue38215
It's better to explicitly name where each function or object is coming from .
from mcda.utils.utils_for_main import *
from mcda.utils.utils_for_plotting import *
from mcda.utils.utils_for_parallelization import *
I see for example the functionrun_mcda_with_indicator_uncertainty used in there. It would be better to explicitly write where it comes from by importing this way:
from mcda.utils.utils_for_main import run_mcda_with_indicator_uncertainty
The same goes for all other imports in mcda_run, such as:
process_indicators_and_weights
check_indicator_weights_polarities
A linter such as flake8 or pylint can help you notice such issues.
import *
works but it is not recommended in packages. See for example this old thread where pyhon authors discuss it https://bugs.python.org/issue38215 It's better to explicitly name where each function or object is coming from .The following imports are at the beginning of mcda/mcda_run.py:
I see for example the function
run_mcda_with_indicator_uncertainty
used in there. It would be better to explicitly write where it comes from by importing this way:The same goes for all other imports in mcda_run, such as:
A linter such as flake8 or pylint can help you notice such issues.