Import aliases for moving a module?

zopyxfilter at zopyxfilter at
Thu Mar 26 19:23:50 CET 2009

For a while a maintained a Python package  'foo' with a number of
modules (including a nested structure of module). Now the package
moved into a namespace package
''. What is the way to approach making old code work with the
new package in order
that imports like

 from import xxx

remain working for existing code.


More information about the Python-list mailing list