why i can get nothing?

Chris Rebert clp2 at rebertia.com
Sun Jan 15 17:17:42 EST 2012


On Sun, Jan 15, 2012 at 7:40 AM, Jason Friedman <jason at powerpull.net> wrote:
>> here is my code :
>> import urllib
>> import lxml.html
<snip>
> What version of python is this?  Based on the naked "print" I guess
> 2.x, and I got:
<snip>
>>>> import lxml.html
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named lxml.html

lxml is a fairly popular third-party XML package for Python:
http://lxml.de/

Regards,
Chris



More information about the Python-list mailing list