Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19016

Re: why i can get nothing?

References <CA+YdQ_76P-UJmEiD7dySoGXxwjFx_Tm-uww8KYJ5Dq0-zDSM1Q@mail.gmail.com> <CANy1k1iPmTCpHSnGYuJD9Uqnar7YPOnfL9Mwstmy3vk6tT_ZwA@mail.gmail.com>
Date 2012-01-15 14:17 -0800
Subject Re: why i can get nothing?
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.4779.1326665865.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jan 15, 2012 at 7:40 AM, Jason Friedman <jason@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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: why i can get nothing? Chris Rebert <clp2@rebertia.com> - 2012-01-15 14:17 -0800
  Re: why i can get nothing? Roy Smith <roy@panix.com> - 2012-01-15 17:26 -0500

csiph-web