Professional quality scripts/code

Mike Driscoll kyosohma at gmail.com
Thu Oct 2 17:01:23 EDT 2008


On Oct 2, 3:38 pm, robean <st1... at gmail.com> wrote:
> I have been learning Python for the last 3 months or so and I have a
> working (but somewhat patchy) sense of the the language. I've been
> using a couple of the more popular Python books as well as online
> resources.
>
> A question for experienced Python programmers: can you recommend
> resources where I can look at high quality Python code and scripts?
> I've spent some time athttp://code.activestate.com/recipes/but am
> concerned that the quality of what is posted there can be somewhat hit
> and miss.  What I have in mind is a site like cpan, where one can look
> at the actual source code of many of the modules and learn a thing or
> two about idiomatic Perl programming from studying the better ones.
> Any sites like that for Python? (You can of course look up Python
> modules on docs.python.org, but, as far as I can tell, not the actual
> source code). Many thanks.


You can look at any of the standard module's source code in your Lib
directory including any 3rd party modules you've downloaded. You could
also browse SourceForge or Google Code.

Mike



More information about the Python-list mailing list