Stephen Nelson-Smith wrote: > Hi, > > >> for lineno, line in enumerate(html): >> > > -Epython2.2hasnoenumerate() > > I used enumerate for a marginal (unproven) performance enhancement. > Can we code around this? for lineno in range(len(html)): x = html[lineno].find("requests/sec") if x >= 0: no_requests_sec = html[lineno].[3:x] break for lineno in range(lineno, len(html)): x = html[lineno].find("requests currently being processed") if x >= 0: no_connections = html[lineno][3:x] break
-- Bob Gailer 919-636-4239 Chapel Hill, NC _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor