I have a directory like this:
parent.py ------+
child1.py---+
child2.py---+
... etc
I can import the parent module like this:
importlib.import_module("parent"))
So, what is the best way to get the child module now that I already have the parent module? I've tried parent.child1, importlib.import_module("child1", parent), parent.import_module('child1'), etc. to no avail.
Any advice?
Thanks