[Tutor] importing

Lawrence Shafer detroit371 at gmail.com
Mon Nov 5 02:12:30 CET 2007


What is the difference between "from name import *" and "import name"?

The reason I ask is because I was using the former, and switched to the 
latter only to find out "NameError: global name 'name' is not defined" 
and I think using the latter is going to fix another problem I have. I 
just want to know what's going on and how to work with it.


More information about the Tutor mailing list