Can I do:

getattr(current_module, 'foo')

where 'current_module' is a handle the the one
that the code is in?  Just like

getattr(self, 'foo')

in a class, but for the current module instead?

Thanks,

Toby

-- 
Posted via a free Usenet account from http://www.teranews.com

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

Reply via email to