473,553 Members | 3,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2071
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...@we bsafe.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...@we bsafe.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
7376
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 store and render web content. Reason being that we are considering migrating our website content to XML and using XSLT to transform the content into...
18
6334
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 repeating side tiles. I would like the on-screen display to use low-res versions (96 dpi) of the images, to ensure fast loading. But I would like...
16
4359
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 age. Can anyone recommend books (or perhaps websites) tuned for younger audiences? BTW, its amazing how fast a student can absorb this kind of...
3
2031
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 not null, ord int2 not null)
1
1793
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 Services, and Remoting By Rockford Lhotka http://www.15seconds.com/issue/040812.htm
2
1737
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 with 10.000 visitors/day. (and can grows faster. High Scalability is one of teh requirements) - Single W2k3 server (no farm), - ASP.net 1.1 (or...
1
1164
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 and low, and for the life of me cannot find any examples on how to add/read/write to an access db in vs 2k5. I'd really appreciate if someone...
1
1419
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 deeply lamba's and making high order functions -- functional programming styles. Coming from BASIC and Pascal, these are constructions that never...
4
4251
by: | last post by:
Hi: how to reduce the tablespace's High water mark? ths!
8
26765
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. I couldn't find out what to do on the server itself. I think it must be the application runnig on IIS. Could a MVP please confirm that this is...
0
7772
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7852
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6109
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5409
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5133
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1990
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1106
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
808
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.