Is there a way to do something like this:
util.py contains: def add def subtract instantiate.py contains: def instantiate
where instantiate does:
import util
def instantiate():
add = util.add
subtract = util.subtract
So I can skip typing util everytime I use a function and I can instantiate them all using one function?
I tried but I get
NameError: global name 'util' is not defined