I organized my helper method into this way:
All the methods are used in the current file, so I need to import them like this:
from helpers.utility_helper import *
from helpers.app_helper import *
from helpers.gmm_helper import *
from helpers.plot_helper import *
So I can directly use methods in each of the submodule. For example, use my_helper()
instead of helpers.utility_helper.my_helper()
.
But this looks quite verbose, is it possible to combine them into one line? Something may look like
import * from helpers/*