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

> On Wed, Jun 8, 2011 at 11:20 AM, nitin chandra <nitinchand...@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@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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to