[Tutor] lxml.html

Joel Goldstick joel.goldstick at gmail.com
Wed Jun 8 18:51:51 CEST 2011


On Wed, Jun 8, 2011 at 11:49 AM, Jerry Hill <malaclypse2 at gmail.com> wrote:

> On Wed, Jun 8, 2011 at 11:20 AM, nitin chandra <nitinchandra1 at gmail.com>
> wrote:
> > Hello Every One,
> >
> >         doc =
> lxml.html.parse('/home/dev/wsgi-scripts/index.py').getroot()
>
> Is index.py really an XML document?  If so, it's named pretty oddly...
>
> --
> Jerry
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>

Can you display the source code of your html file you are trying to process?

-- 
Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110608/182b12b7/attachment.html>


More information about the Tutor mailing list