I have a module called foo.py from which another module bar.py loads the functions into its namespace. How can I prefix all of the functions in foo.py with the string foo_
. An example:
foo.py:
def func1():
return "hello"
def func2():
return "world"
bar.py:
from foo import *
def do_something():
return foo_func1()