"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 > iterations for the "for loop" prior to running it... > > the tutorials i've seen as of yet haven't mentioned this..
Have you tried len(object)? -- Barry -- http://barrkel.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list