print 'import rec2' from .rec1_err import bar bar() def foo(): print 'rec2.foo'