Let’s say I have a function named “hello” in a module named a, and various other functions. Is it possible to import hello as goodbye, along with the other symbols? I am thinking of something like this, however it’s not valid:
from a import hello as goodbye,*
You can import from a, then bind the new name that you want and delete the previous. Something like
Star imports are usually not so good exactly because of namespace pollution.