> In general "from <module> import *" is a very bad idea. > > import <module> imports a module into its own namespace (e.g., to > access its functionality you would have to do "<module>.foo() and > <module>.bar()" The form that you chose to use imports all of a > module's contents into the current namespace. This means you can call > "foo()" and "bar()" directly, but it also means that if you have coded > a "foo()" and a "bar()" you will not have access to the functions in > the module you just imported. > Timothy,
Thanks for the clarification. I had always wondered what the difference was. Samir _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor