On 07/02/2011 09:52 PM, Dan Stromberg wrote:
>
> Is there a decent way of running "from import *"? Perhaps
> using __import__?
>
> Does it mean using the copy module or adding an element to globals()
> somehow?
Yes, exactly. That's what `from x import *` does: Get the module, and
then add all
En Sat, 02 Jul 2011 16:52:11 -0300, Dan Stromberg
escribió:
Is there a decent way of running "from import *"? Perhaps
using
__import__?
Does it mean using the copy module or adding an element to globals()
somehow?
Yes, I think I do have a good use for this: importing either pure python
On 7/2/2011 12:52 PM, Dan Stromberg wrote:
Is there a decent way of running "from import *"? Perhaps
using __import__?
Does it mean using the copy module or adding an element to globals()
somehow?
Yes, I think I do have a good use for this: importing either pure python
or cython versions of
Is there a decent way of running "from import *"? Perhaps using
__import__?
Does it mean using the copy module or adding an element to globals()
somehow?
Yes, I think I do have a good use for this: importing either pure python or
cython versions of a module into a single namespace that can prov