gmail.com> writes:
>
> Can someone explain to me what's going on here?
>
> >>> __import__('some.package.module', {}, {}, [])
>
> >>> __import__('some.package.module', {}, {}, [''])
>
As documented [1], unless fromlist is not empty, the first module is returned.
Use the solution at the end o
Can someone explain to me what's going on here?
>>> __import__('some.package.module', {}, {}, [])
>>> __import__('some.package.module', {}, {}, [''])
(Note that '' is two single quotes)
Thanks,
Scott
--
http://mail.python.org/mailman/listinfo/python-list