importing symbols from module objects

Don O'Donnell donod at
Wed Sep 26 07:28:10 CEST 2001

Paul Rubin wrote:
> Is there a non-messy way to import a symbol from a module object?
> I don't see one but I might be missing something. 

I'm probably missing something here, but why not just:

SpamException = breakfastdish.SpamException


More information about the Python-list mailing list