In article <78388a7a-b148-499a-8894-34e55721e...@k19g2000pro.googlegroups.com>, lordofcode <ajay....@gmail.com> wrote: > >Thanks you all for your replies ,cleared quiet a few doubts about >importing modules and namespace references . >Currently am going with static importing of all modules. But it may >not be efficient in future as the number of interchangeable modules >that I have to import may run in 30-40's.(Basically this Python code >is part of larger GSM Testing project where each module represents one >model of GSM mobile phone and this number keeps growing). So changing >the design will be a last resort.
Worry when you have 30-40 hundreds of modules. ;-) Seriously, it's just memory; Python's efficient dicts make lots of modules not a problem. If/when it's time to worry, there are other techniques you can use. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list