Can someone explain to me what's going on here?

>>> __import__('some.package.module', {}, {}, [])
<module 'some' from 'some/__init__.py'>
>>> __import__('some.package.module', {}, {}, [''])
<module 'some.package.module' from 'some/package/module.py'>

(Note that '' is two single quotes)

Thanks,
Scott
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to