473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Examples of high-quality python code?

Hey everyone, I'm relatively new to python - I actually picked it up
to see how quickly I could start building non-trivial apps with it.

Needless to say, I was quite pleased.

Anyhow, I'm looking to expand my understanding of python, and I feel
that one of the best ways to do that is looking at other peoples code.

Unfortunately, I don't feel like I grok the python mindset quite well
enough to fully distinguish between awesome, average, and not-pythony
code, so I was hoping some of the more experienced python people could
point me to some (preferably FOSS) non-trivial apps written in python
that are examples of great python code.

I realize this may be a bit ambiguous - basically I don't want to go
randomly downloading other people's source and end up assimilating
techniques that aren't . . . well . . . pythonistic.

So, who wants to hook me up?
May 31 '07 #1
3 2061
kaens wrote:
Hey everyone, I'm relatively new to python - I actually picked it up
to see how quickly I could start building non-trivial apps with it.

Needless to say, I was quite pleased.

Anyhow, I'm looking to expand my understanding of python, and I feel
that one of the best ways to do that is looking at other peoples code.

Unfortunately, I don't feel like I grok the python mindset quite well
enough to fully distinguish between awesome, average, and not-pythony
code, so I was hoping some of the more experienced python people could
point me to some (preferably FOSS) non-trivial apps written in python
that are examples of great python code.

I realize this may be a bit ambiguous - basically I don't want to go
randomly downloading other people's source and end up assimilating
techniques that aren't . . . well . . . pythonistic.

So, who wants to hook me up?
You should consider picking up a copy of Python Cookbook. Alex and
others have reviewed the code it contains and IMHO it is well written.

I've also learned quite a lot from:

Python on Win32 (book by Mark Hammond/Andy Robinson)
Reading source code to standard library
Reading ReportLab source (www.reportlab.org)
Reading PIL source (www.effbot.org)
Reading wxPython source (www.wxpython.org)
Monitoring this list on a daily basis

-Larry

May 31 '07 #2
On May 31, 8:38 am, Larry Bates <larry.ba...@websafe.comwrote:
kaens wrote:
Hey everyone, I'm relatively new to python - I actually picked it up
to see how quickly I could start building non-trivial apps with it.
Needless to say, I was quite pleased.
Anyhow, I'm looking to expand my understanding of python, and I feel
that one of the best ways to do that is looking at other peoples code.
Unfortunately, I don't feel like I grok the python mindset quite well
enough to fully distinguish between awesome, average, and not-pythony
code, so I was hoping some of the more experienced python people could
point me to some (preferably FOSS) non-trivial apps written in python
that are examples of great python code.
I realize this may be a bit ambiguous - basically I don't want to go
randomly downloading other people's source and end up assimilating
techniques that aren't . . . well . . . pythonistic.
So, who wants to hook me up?

You should consider picking up a copy of Python Cookbook. Alex and
others have reviewed the code it contains and IMHO it is well written.

I've also learned quite a lot from:

Python on Win32 (book by Mark Hammond/Andy Robinson)
Reading source code to standard library
Reading ReportLab source (www.reportlab.org)
Reading PIL source (www.effbot.org)
Reading wxPython source (www.wxpython.org)
Monitoring this list on a daily basis

-Larry
Also "Python Programming" by Lutz has some great code to learn from as
it also explains most of it.

Mike

May 31 '07 #3
On 31 May 2007 06:58:36 -0700, ky******@gmail.com <ky******@gmail.comwrote:
On May 31, 8:38 am, Larry Bates <larry.ba...@websafe.comwrote:
kaens wrote:
Hey everyone, I'm relatively new to python - I actually picked it up
to see how quickly I could start building non-trivial apps with it.
Needless to say, I was quite pleased.
Anyhow, I'm looking to expand my understanding of python, and I feel
that one of the best ways to do that is looking at other peoples code.
Unfortunately, I don't feel like I grok the python mindset quite well
enough to fully distinguish between awesome, average, and not-pythony
code, so I was hoping some of the more experienced python people could
point me to some (preferably FOSS) non-trivial apps written in python
that are examples of great python code.
I realize this may be a bit ambiguous - basically I don't want to go
randomly downloading other people's source and end up assimilating
techniques that aren't . . . well . . . pythonistic.
So, who wants to hook me up?
You should consider picking up a copy of Python Cookbook. Alex and
others have reviewed the code it contains and IMHO it is well written.

I've also learned quite a lot from:

Python on Win32 (book by Mark Hammond/Andy Robinson)
Reading source code to standard library
Reading ReportLab source (www.reportlab.org)
Reading PIL source (www.effbot.org)
Reading wxPython source (www.wxpython.org)
Monitoring this list on a daily basis

-Larry

Also "Python Programming" by Lutz has some great code to learn from as
it also explains most of it.

Mike

--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the replies everyone - I don't have the spare cash to buy a
book right now, but I've started studying the standard library, and I
do monitor this list on a regular basis.
Jun 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mike Judkins | last post by:
I'm looking for examples of websites (preferably large and well known companies, not personal sites or developer-to-developer sites) that use XML and XSLT as a technology platform from which to...
18
by: Roger Shrubber | last post by:
Hello all I have created a page which has several pictures on it. Each picture is surrounded by a frame made from actual photos of real picture frames, consisting of four corner tiles and four...
16
by: msnews.microsoft.com | last post by:
I am teaching C# to my 11 year old child. One challenge is that all the C# books I own and that I have seen in bookstores are full of language that is not easily comprehended by a student at that...
3
by: Kevin Macdonald | last post by:
I expected Postgresql to use an indexed access method, but in certain cases it is using a sequential scan. Details are below: Table: P1_NRN_ROAD ( sobjid int8 primary key, v int8...
1
by: Tommaso Caldarola | last post by:
I need to transfer big files (up to 10 Gb), now I'm using IIS via Remoting with chunk of bytes (up to 500Kb). In the following article: Middle-Tier Hosting: Enterprise Services, IIS, DCOM, Web...
2
by: Gordowey | last post by:
Hi all, I would like to ear your opinion about the best approach for and ASP.net with high workload traffic (High number of visitors) using SQL DB Consider the following scenario: - Website...
1
by: AppleBag | last post by:
Hello I have found examples of using an .mdb file in VS2K3, but apparently the components in the toolbox are different than the ones shown in the 2K3 examples. I have google'd and searched high...
1
by: David Bear | last post by:
I've been going through David Mertz's python book and he is heavy in to lamba's and higher order functions. This is all very new to me. Can anyone point me to more web stuff that describes more...
4
by: | last post by:
Hi: how to reduce the tablespace's High water mark? ths!
8
by: =?Utf-8?B?dGFuaQ==?= | last post by:
Hello there, one of my servers is running windows 2003 and IIS 6.0. We have big performance issues on that server and I found out that a high CPU usage iniciated by w3wp.exe causes the problem....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.