math - need divisors algorithm

2005-03-29 Thread Philp Smith
Hi Does anyone have suggested code for a compact, efficient, elegant, most of all pythonic routine to produce a list of all the proper divisors of an integer (given a list of prime factors/powers) -- http://mail.python.org/mailman/listinfo/python-list

Re: math - need divisors algorithm

2005-03-30 Thread Philp Smith
re it creates a lot of temporary objects (partial lists) So I will gratefully try your version - and for interest's sake post mine at some point (its on other computer) for comment. Phil "Tim Peters" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [Philp Smith]

Pari Python

2005-03-30 Thread Philp Smith
Hi I'm interested to try Pari Python but haven't had much success in the past compiling such packages for Windows. Has anyone any advice or is there somewhere out there a precompiled version? Thanks Phil -- http://mail.python.org/mailman/listinfo/python-list