I have a structure such this works :
import a.b.c a.b.c.foo() and this also works :
from a.b import c c.foo() but this doesn't work :
from a import b.c b.c.foo() nor does :
from a import b b.c.foo() How can I do the import so that b.c.foo() works?
from a.b import c as b_cand similar renamings.