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


Groups > comp.lang.python > #19016

Re: why i can get nothing?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python:': 0.05; 'importerror:': 0.07; 'python': 0.08; '>>>>': 0.09; 'am,': 0.12; 'cc:addr:python-list': 0.15; '"print"': 0.16; 'url:lxml': 0.16; 'wrote:': 0.16; 'this?': 0.19; 'jan': 0.19; '(most': 0.21; 'header :In-Reply-To:1': 0.22; 'traceback': 0.24; 'cc:2**0': 0.25; 'code': 0.25; 'guess': 0.25; 'module': 0.26; 'import': 0.27; 'received:209.85.220': 0.27; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'fairly': 0.30; 'sun,': 0.30; 'chris': 0.30; 'subject:?': 0.30; 'xml': 0.30; 'version': 0.31; 'third- party': 0.32; 'named': 0.33; 'jason': 0.34; 'last):': 0.34; 'received:google.com': 0.37; 'subject:can': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'here': 0.64; 'sender:addr:chris': 0.84; 'subject:nothing': 0.84; 'naked': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9w6dlVh3F8dpCp3HKjcBIfL7n3+bZX1tKz6rbYtmp1k=; b=eemitMqESiItFDukgpsurnwujqjQjm6QPbktC0eB1mpIqYNcZoLu/SPpehDgoaWD/0 Ej1oPCAHpQQ0PaW+wQSCcbjNuunKvskoglI63sP5SOTaFz/mUAKsIshwEdpu6xuks9RH G7qpNotsDndzALXoBKYfEdaoc2grdwAFOKOro=
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <CANy1k1iPmTCpHSnGYuJD9Uqnar7YPOnfL9Mwstmy3vk6tT_ZwA@mail.gmail.com>
References <CA+YdQ_76P-UJmEiD7dySoGXxwjFx_Tm-uww8KYJ5Dq0-zDSM1Q@mail.gmail.com> <CANy1k1iPmTCpHSnGYuJD9Uqnar7YPOnfL9Mwstmy3vk6tT_ZwA@mail.gmail.com>
Date Sun, 15 Jan 2012 14:17:42 -0800
X-Google-Sender-Auth uHrowC6h-FDwk2ISafdUrXwELAE
Subject Re: why i can get nothing?
From Chris Rebert <clp2@rebertia.com>
To Jason Friedman <jason@powerpull.net>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4779.1326665865.27778.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326665865 news.xs4all.nl 6894 [2001:888:2000:d::a6]:36557
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19016

Show key headers only | 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