alias wrote: <snip> > > > > Highlighted options are in-the-money. > (omit something) > there is only one difference between code1 and code2 : > in code1 is : tds=table.xpath("tr[@valign='top']//td") > in code2 is: tds=table.xpath("//tr[@valign='top']//td") > > i want to know why the "//" make output different?
This is an XPATH question, not really Python-related. See http://www.w3schools.com/xpath/xpath_syntax.asp Cheers, Kev -- http://mail.python.org/mailman/listinfo/python-list