import and change function name in python code example Example: python change name of the imported function from my_module import func1 as func1_cool