[EMAIL PROTECTED] wrote: > it seems that range() can be really slow:
> if i in range (0, 10000): RTFM on range() You're completely mis-using it here, using it with an if ... in ... test. The purpose of range() in Python is as loop control, not comparisons! It's not a SQL BETWEEN statement. Although you _can_ do this (you've done it!) you've also found that it's slow. Many people would argue that even using range() for loop control is unusably slow. -- http://mail.python.org/mailman/listinfo/python-list