Little novice program written in Python

hellt Dodin.Roman at gmail.com
Fri Apr 25 07:24:51 EDT 2008


On 25 апр, 15:02, Max M <m... at mxm.dk> wrote:
> Rogério Brito skrev:
>
> > Hi, All.
>
> > What I would like is to receive some criticism to my code to make it
> > more Python'esque and, possibly, use the resources of the computer in a
> > more efficient way (the algorithm implemented below is the Sieve of
> > Eratosthenes):
>
> I agree with the rest here. Your code generally looks fine.
>
> But on another note, this type of code is not something you often see in
> Python. It is very dense with regard to algorithm.
>
> Most code is not like that so perhaps you should try something more
> "usual" like sending email, fetching webpages etc. to get a feel for the
> language.
>
> --
>
> hilsen/regards Max M, Denmark
>
> http://www.mxm.dk/
> IT's Mad Science

em, i would say, that python (esp. with NumPy+Psyco) is very popular
in numerical processing also.



More information about the Python-list mailing list