stef mientki wrote:

> I want to view my own namespace,
> i.e. to see the modules namespace in the module itself,
> is that possible ?
> 
> I can use
>    dir()
> but I read dir is just a convenience function,
> and besides I want key/value pairs.

Use globals() or vars().

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to