from foo import bar from foo import bar as a from foo import bar as b print(bar, a, b)