[Chicago] from x import * but reference it by x.myfunc?

Lukasz Szybalski szybalski at gmail.com
Mon Apr 28 16:26:47 CEST 2008


Hello,
Is there a way I can import another file in a similar way as :

from x import *
but be able to reference it in my code as
x.myfunc()
x.dothis()
x.dothat()


Its less confusing that way where the function came from, but it takes
the advantage of having all the modules in the code I'm working.
Would there be any problems in doing such a thing.

Lucas


More information about the Chicago mailing list