through  the  following code,i get the content of webpage,<br><div><includetail><div>     import lxml.html<br>     url = '<a target="_blank" href="http://finance.yahoo.com/q/op?s=C+Options%27">http://finan<wbr>ce.yahoo.com<wbr>/q/op?s=C+Op<wbr>tions'</a><br>     root = lxml.html.parse(url).getroot() <br><br>with your method ,how can i get the content of webpage  in my python program?<br></div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Miki Tebeka"<miki.tebeka@gmail.com>;</div><div><b>Date: </b> Fri, Sep 16, 2011 09:08 PM</div><div><b>To: </b> "python-list"<python-list@python.org>; <wbr></div><div><b>Cc: </b> "python-list"<python-list@python.org>; <wbr></div><div><b>Subject: </b> Re: parse  html:what is the meaning of "//"?</div></div><div> </div>As a side note, it's way easier to get this data using YQL. See for example:<br><br>http://developer.yahoo.com/yql/console/?q=show%20tables&env=store://datatables.org/alltableswithkeys#h=SELECT%20*%20FROM%20yahoo.finance.options%20WHERE%20symbol%3D%27C%27%20AND%20expiration%3D%272011-09%27<br><br>Which gives you the data in JSON format.<br><br>(See link at bottom for API URL)<br>-- <br>http://mail.python.org/mailman/listinfo/python-list<br></div></includetail></div>