Rogério Brito <[EMAIL PROTECTED]> wrote: > I'm just getting my feet wet on Python and, just for starters, I'm coding > some > elementary number theory algorithms (yes, I know that most of them are > already > implemented as modules, but this is an exercise in learning the > language idioms).
When you are up to speed in python I suggest you check out gmpy for number theory algorithms. Eg :- import gmpy p = 2 while 1: print p p = gmpy.next_prime(p) -- Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list