On Mon, Apr 20, 2009 at 12:34 PM, Matt <hellzfury+pyt...@gmail.com<hellzfury%2bpyt...@gmail.com> > wrote:
> Thank you. Func is in fact a call to an external non-python program. =] > Therefore, the loop must actually be mindlessly done. My question, however, > has been answered. > As an aside, why use range rather than xrange? I was under the impression > that xrange is a generator and therefore more memory efficient. > Probably because for small values (under 100), range just looks cleaner, and as far as memory goes it's not a whole lot of difference. AFAIK, Wayne -- To be considered stupid and to be told so is more painful than being called gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness, every vice, has found its defenders, its rhetoric, its ennoblement and exaltation, but stupidity hasn’t. - Primo Levi
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor