Importing into 'containers' namespace

Erno Kuusela erno-news at erno.iki.fi
Thu Jan 4 09:33:18 EST 2001


In article <3a547ee0.1211638714 at news.mch.sni.de>,
nikolai.kirsebom at siemens.no (Nikolai Kirsebom) writes:

| Thanks, I though of this as a possible solution - but I want to try to
| avoid it [...]

if you want to get icky, you can always frob the namespace of the
other module, like
B.FrameWork = FrameWork
or
setattr(B, 'FrameWork', FrameWork).

  -- erno



More information about the Python-list mailing list