For example, my package path is component.sub_fold.package.class_name. The component.sub_fold is the path of my package. The package is a file name. The class_name is a class name which I want to initialize it. I can initialize an object through
from component.sub_fold.package import class_name
obj = class_name()
How can I initialize an object through the string "component.sub_fold.package.class_name"?