2007-06-28T14:46:34-08:00Thu, 28 Jun 2007 14:46:34 PST(image) Everyone has, at one time or another, wished they could use a program to grundge through their mailbox, cleaning it up and sorting it, or transforming the mail into something entirely different. A.M. Kuchling shows one way to do just that, using the Python mailbox.py package.
2007-03-09T09:45:25-08:00Fri, 9 Mar 2007 09:45:25 PST(image) Jeremy Jones summarizes the interesting developments in the world of Python in 2006 and offers some predictions for 2007. Also included is a 32-minute interview with Guido van Rossum discussing the upcoming release of Python 3000. This is the first time that backward compatibility is an issue, and Guido addresses what you need to do to prepare, discusses the strengths and weaknesses of the new conversion tool, and points out the benefits of several new language features (for example, full support for Unicode strings). He also discusses the controversy and misunderstanding some of these changes have caused in the Python community, and how they're being resolved. Finally, he offers his heartfelt thanks to the Python community for "a great ride."
2007-01-18T12:15:28-08:00Thu, 18 Jan 2007 12:15:28 PST(image) What happens when programming stops being fun? What do you do when juggling dependencies and worrying about installation issues takes all of the joy out of writing code for other people? You can stop coding... or you can try to address the underlying problems. Brian McConnell postulates an enhancement of the Python language to make programming as fun as it was in the BASIC-in-ROM minicomputer days.
2006-11-09T15:45:26-08:00Thu, 9 Nov 2006 15:45:26 PST(image) Python 2.5 added support for the WSGI standard. This is a specification for web programming that allows interoperability between frameworks and components. It's also terribly easy to use. Jason Briggs introduces WSGI and gives the background you need to use it productively.
2006-10-26T15:18:41-08:00Thu, 26 Oct 2006 15:18:41 PST(image) In 15 years, Python has grown out of its initial niche to evolve in new directions. The latest version, Python 2.5, adds and refines features on the way to Python 3000. Jeff Cogswell demonstrates the latest additions.
2006-10-19T16:31:53-08:00Thu, 19 Oct 2006 16:31:53 PST(image) Many agile development techniques apply to plenty of development models. One interesting approach for distributed development projects is the sprint--a short, directed programming effort with programmers all in the same room. Steve Holden, who organized the recent Python Need for Speed sprint, explains how they work.
2006-08-10T16:15:13-08:00Thu, 10 Aug 2006 16:15:13 PST(image) Python is a powerful and usable language for network programming; its standard library includes several modules for multiple Internet protocols. There's also the powerful Twisted framework. How do you get started? When do you use the standard library and when do you go Twisted? Kendrew Lau demonstrates usable applications with both approaches to help you decide.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) The RESTful view of the Web says to use HTTP's verbs--GET, PUT, POST, and DELETE--where appropriate. Yet most browsers support only GET and POST. How can you achieve RESTfulness without writing your own client? Nic Ferrier shows how to design a RESTful web application using Ajax and Python.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) Python is a good language for machine learning--it's easy to express powerful algorithms maintainably, and it's flexible to experiment with new approaches. Christopher Roach demonstrates the use and implementation of decision trees, a fundamental feature of datamining, that can help you find trends in your data.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) Someday your program will have to parse text. If you're lucky, a few regular expressions will handle it. Otherwise, you need to write a parser. Don't be afraid of that dragon book from college--writing a parser in Python is easy with Pyparsing. Paul McGuire explains everything you need to know.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) Premature optimization is the root of all sorts of evil in programming, but meaningful and necessary optimization is vital to effective and efficient programming. When your Python program just doesn't perform, don't reach for C or C++ without first playing with the Python profiler. Jeremy Jones shows how to find and fix bottlenecks in your programs.
2006-05-11T15:24:31-08:00Thu, 11 May 2006 15:24:31 PST(image) Most users do not need a full-blown programming platform to develop small hacks for their phones. A scripting language like Python is the perfect tool to automate simple tasks and perform simple logical processing. This excerpt from Nokia Smartphone Hacks shows you how to use Python to develop and run scripts for your Series 60 device.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) There's a real drive toward testing these days. If you develop any sort of application seriously, you've likely heard recommendations to write comprehensive automated tests. Is that really useful? Michele Simionato explores the arguments for and against automated testing, and shows how to automate web app testing using Python and the twill utility.
2006-05-11T09:45:05-08:00Thu, 11 May 2006 09:45:05 PST(image) Debugging with print statements is alive and well. It's not the only way to do it, though. Python has a powerful interactive debugger that can let you get to the heart of your problem faster and more easily--if you know how to use it. Jeremy Jones shows off the features you absolutely must know.
2006-05-11T15:24:31-08:00Thu, 11 May 2006 15:24:31 PST
O'Reilly Media, Inc. is rolling out a new syndication mechanism that provides greater control over the content we publish online. You'll notice some improvements immediately, such as better standards compliance, graphical tiles accompanying article descriptions, and enclosure support for podcatching applications. We've tested the new feeds using a variety of popular newsreaders and aggregators, but we realize that there may be a few bumps along the way. If you experience problems, please don't hesitate to send mail to firstname.lastname@example.org. Please include detail about your operating system and reader applications. We also welcome your suggestions. Thank you for your continued support of the Python DevCenter.
The following URLs represent the Python DevCenter's article and weblog content in a variety of popular formats:
We will begin automatically redirecting the existing feeds to the new feeds above, but we recommend that you update your feedreader's subscription settings to ensure continuous and uninterrupted service.
O'Reilly Media, Inc.'s Online Publishing Group