extracting html table rows into a list

Glenn Jackman glennj at nortelnetworks.com
Thu Nov 22 17:24:26 EST 2001


In comp.lang.tcl on [Fri, 23 Nov 2001 10:49:55 +1300],
Peter Campbell <pc at acs.co.nz> wrote:
> set token [http::geturl "www.nzse.co.nz/market/price_by_stock/[string tolower $code].html"]
> set data [set $token\(body)]

As a nit-picky comment, you might say (easier to read):
    set data [http::data $token]

-- 
Glenn Jackman



More information about the Python-list mailing list