namespace query

Marco Mariani marco at sferacarta.com
Wed Apr 22 08:27:11 EDT 2009


Dr Mephesto wrote:

> Why are the class files I created not seeing the top namespace?

Because it's how python works. What you think is a top namespace, it's 
not "at the top". It's just the namespace of the module you run the 
program with. You must import numpy from the all the modules that make 
use of it.

I doubt your "global" fixed something, I'd like to see an example.




More information about the Python-list mailing list