468,284 Members | 1,612 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,284 developers. It's quick & easy.

Examples of Python code compared to other languages

Hello,

I'm looking (without success so far) for code sources for common
problems in different languages, but especially Python, C, Fortran, Ada
and Matlab.

It would help people coming from other languages to understand the
'python way of thinking'.

Priority is clean code, performance is not an issue here because it
often leads to obscure code.

Ideally code for Python would extensively use the standard library
("don't reinvent the wheel").

I've already checked the following sites, but they were not suited for
what I'm looking for :

These ones are too focused on performance :
http://shootout.alioth.debian.org/
http://dada.perl.it/shootout/

This one don't include C or Fortran :
http://pleac.sourceforge.net/

This one is ok but rather limited :
http://www.kochandreas.com/home/language/lang.htm

If there is a site which regroup very good ('Pythonic') code examples
which make extensively use of standard library to resolve common
problems, I would be happy to help and try to contribute by giving the
equivalent in C code.

Regards,
Oct 29 '05 #1
2 1496
http://pleac.sourceforge.net/ probably is what you're looking for. It
shows how to to stuff from the perl cookbook in a plethora of other
languages, including Python.

Kind regards Terji Petersen

Oct 30 '05 #2
On 29 Oct 2005 21:27:39 -0700, Te*****@gmail.com wrote :
http://pleac.sourceforge.net/ probably is what you're looking for. It
shows how to to stuff from the perl cookbook in a plethora of other
languages, including Python.

Kind regards Terji Petersen


Hello,

As mentioned in the original message, this site is good but doesn't
include C or Fortran.
Of course I can try to contribute with C code...

Thanks anyway,
Oct 30 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

220 posts views Thread by Brandon J. Van Every | last post: by
699 posts views Thread by mike420 | last post: by
226 posts views Thread by Stephen C. Waterbury | last post: by
12 posts views Thread by Anon | last post: by
68 posts views Thread by Lad | last post: by
65 posts views Thread by Amol Vaidya | last post: by
50 posts views Thread by diffuser78 | last post: by
112 posts views Thread by mystilleef | last post: by
27 posts views Thread by scott | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.