Bruno Desthuilliers <[EMAIL PROTECTED]> writes: > from foo import foo > x = foo(3) > > Or did I miss the point ???
The foo module might define a bunch of additional functions that you still want to be able to access in qualified form. For example it would somewhat clean up the interface to the python random module if you could say import random x = random() # get a random float between 0 and 1 while still having access to random.shuffle, random.choice, etc. -- http://mail.python.org/mailman/listinfo/python-list