On Wed, Jun 8, 2011 at 11:49 AM, Jerry Hill <[email protected]> wrote:

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

Reply via email to