Re: size of an array..

2006-07-01 Thread Barry Kelly
"bruce" <[EMAIL PROTECTED]> wrote: > from the "for label in d.xpath", i assume that "d.xpath" is returning > multiple strings/objects/etc... and that label is assigned to the next > "element during the loop. > > is there a way to determine the number of elements in "l", or the number of > iterati

size of an array..

2006-07-01 Thread bruce
hi.. another basic question... in the following: #test python script import libxml2dom import urllib print "hello" turl = "http://courses.tamu.edu/ViewSections.aspx?campus=CS&x=hvm4MX4PXIY9J8C2Dcxz5 0ncXTJdT7v2&type=M" f = urllib.urlopen(turl) s = f.read() f.close() # s contains HTML not XML t