Hi,

I would like import some module dynamically.

First, I install "js.jquery"

$ pip install js.jquery

Here, I would like import "js" module.

>>> import imp
>>> imp.find_module("js")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named js
>>> import js
>>>

I can't found module with "imp.find_module" but I can import it with standard "import" statement.

Where is my mistake ?

Regards,
Stephane
--
Stéphane Klein <steph...@harobed.org>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to