|
|
Python Standard Logging Tracking down what your application does seems easy; just add a few print statements here and there. Unfortunately, effectively tracing a program is more difficult. That's where Python's standard logging module comes in. Jeremy Jones demonstrates how to make it work for you. [ONLamp.com] Python on Your (S60) Phone Nokia recently released a Python distribution that runs on Series 60 phones. Sure it's cool, but is it useful? John Littler walks through the available packages and the installation process, as well as some example Python code. [ONLamp.com]
More Test-Driven Development in Python The goal of test-driven development is not to produce tests; they're merely a helpful by-product. The real goal is to produce elegant, working code. Jason Diamond demonstrates how test-driven development can improve the design of code. [ONLamp.com] Enhanced Interactive Python with IPython An interactive programming environment can be a powerful tool to assist in writing programs. Python has one as part of its standard distribution. Yet IPython, "an enhanced Interactive Python shell," is a far superior replacement. Jeremy Jones demonstrates. [ONLamp.com] Design by Wiki Is your project drowning in a sea of useless, out-of-date, and irrelevant documentation? Or is your project foundering with no map whatsoever? Before you shell out time and money for a proprietary package, consider that a humble wiki may solve most of your woes. Jason Briggs explains how his team uses MoinMoin to track its project documentation--and diagrams. [ONLamp.com] Python-Powered Templates with Cheetah It's true; XSLT isn't the be-all, end-all of templating and transformation systems. If you use Python, consider instead Cheetah, a template engine based on Python. Andrew Glover demonstrates its simplicity and power for producing text in all kinds of formats. [ONLamp.com] Test-Driven Development in Python The goal of test-driven development is not to produce tests; they're merely a helpful by-product. The real goal is to produce elegant, working code. Jason Diamond demonstrates how test-driven development works using Python and PyUnit to create a sample event-tracking utility. [ONLamp.com] Open Source Content Management with Plone Publishing web sites is easy for geeks. When you're tired of your users asking you to make tiny changes that they could easily handle themselves, it's time to consider a content management system (CMS). If you're a Python or Zope fan, you may have heard of Plone, a powerful and easy-to-use CMS. If not, let Brad Bollenbach convince you to give it a try. [Python DevCenter] A Python Quick Reference to Useful Commands Plucked from the pages of Python in a Nutshell and Learning Python, 2nd Edition, these excerpts, available for download as a PDF (55K), offer a quick reference to useful Python commands, covering methods, common file operations, and much more. Print it out to keep by your keyboard as you program. [ONLamp.com] Python and XML Inside Mitch Kapor's World Mitch Kapor has had a huge influence on the software world, being the founder of Lotus and a driving force behind 1-2-3. Now his Open Software Applications Foundation is working on Chandler, an open-source PIM written in Python. Steve Holden interviewed Mitch after the recent PyCon about his life and career, the OSAF, Chandler, open source, and Python. [Python DevCenter] Python and XML Python and XML Panther, Python, and CoreGraphics Mac OS X Panther includes many updated developer tools. Among them is an enhanced version of Python 2.3 with its own SWIG-based bindings to the CoreGraphics library. Here's a look at the capabilities of the module and examples of how to use CoreGraphics to rescale and decorate images for publication on the Web. [MacDevCenter.com] Mod_python's PSP: Python Server Pages For simple web sites, inlining code in the pages themselves is shockingly effective. For more complex sites, it can even work with good MVC design. Fear not, Pythonistas, mod_python's PSP brings the power and clarity of Python to web programming. Grisha Trubetskoy explains. [Python DevCenter] Python and XML Understanding Network I/O, Part 2 Network programming is easy to start, but it can get complex very quickly. When is it appropriate to use synchronous IO and when do you need asynchronous? When do you need concurrency? George Belotsky explores these questions in the context of network programming with Python. [Python DevCenter] When Pythons Attack Mark Lutz, coauthor of the recently released Learning Python, 2nd Edition, offers tips, gleaned from his first-hand experience as a Python trainer, on the most common programming and coding mistakes that new Python programmers make. For seasoned Python programmers, Mark offers tips on working with Python's larger features, such as datatypes, functions, modules, and classes. [Python DevCenter] An Introduction to the Twisted Networking Framework Network programming is difficult, and not just because bandwidth and latency are hard to manage. Sending and receiving messages in a timely fashion is tricky, even if you're working with a well-established protocol. Itamar Shtull-Trauring introduces Python's Twisted framework for writing networked applications. [Python DevCenter] Python and XML Understanding Network I/O: From Spectator to Participant By design, the Internet is a simple network; any endpoint can serve any client. Even better, it's easy to write a client or a server, if you understand a few things about network programming. George Belotsky demonstrates the essential concepts with Python. [Python DevCenter] Python and XML |
|
|
|
![]() You're developing C extensions, and you experience memory problems. You suspect mismanagement of reference counts and want to check whether your C extension code is correctly managing reference counts. Do it now. |
|
Sponsored by: |
|||||||||||||||||||||
|
Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs Copyright © 2000-2005 OReilly Media, Inc. All Rights Reserved. |
||||||||