Alex Martelli wrote: > I only use the 'from' statement to import specific modules from a > package, never to import specific objects (functions, classes, or > whatever) from a module.
I like that. So in my case I'd use 'import time' (which I actually already changed last night). I think especially right now, while I'm new to Python, it helps me to see 'time.sleep' instead of just 'sleep', so I can begin to associate certain functions with their proper modules. Not to mention, like you said, that importing specific pieces like functions tends to look a little messy in the code when they aren't qualified. -- http://mail.python.org/mailman/listinfo/python-list