How to import a module with spaces in the name

Gregory Piñero gregpinero at gmail.com
Wed Feb 15 19:29:40 EST 2006


Thanks, that did work!


On 2/15/06, Farshid Lashkari <lashkariNO at spamworldviz.com> wrote:
> Gregory Piñero wrote:
> > Let's say I have a module named "Excellent Module.py"
>
> ExcellentModule = __import__('Excellent Module')
>
> -Farshid
> --
> http://mail.python.org/mailman/listinfo/python-list
>


--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com)



More information about the Python-list mailing list