Re: dynamically adding some of one module's functions to another

2008-08-26 Thread Bruno Desthuilliers
Gabriel Rossetti a écrit : Hello everyone, I'm trying to import some modules into another's namespace (network_utils) network_utils.py: import utils import constants as main_const from services import constants as srv_const from plugins import constants as plg_const # # Import all the message

dynamically adding some of one module's functions to another

2008-08-26 Thread Gabriel Rossetti
Hello everyone, I'm trying to import some modules into another's namespace (network_utils) network_utils.py: import utils import constants as main_const from services import constants as srv_const from plugins import constants as plg_const # # Import all the message creation functions # f = di