2010
Porting Perl To Python
Python programmers shouldn't get too smug. While many people agree that Python is designed in a way that makes it a highly readable language, there can still be problems with legacy, untested Python code too. Porting legacy Perl to Python can be a daunting task. In this article, learn some of the theory behind dealing with legacy code, including what not to do.
2009
Leveraging industrial-strength Python testing
This article asks what the Python frameworks do when they introspect a test module to discover what tests live inside of it. It also looks at details like how common test setup and teardown is supported, or not supported, by Zope, py.test and nose. Learn how these testing frameworks will support your Python development.
More powerful Python testing techniques
Look at how the leading Python testing frameworks provide robust auto-discovery of your application tests. Make sure your applications are written right the first time, and that they stay working through months and years of further tweaks and improvements.
Doing more with the Django admin
The built-in administration console provided by Django is one of its biggest selling points. Find out how to extend the existing admin application without ever modifying the source. Learn three ways to customize this powerful application to suit your needs
Industrial-strength Python testing frameworks
The recent emergence of industrial-strength Python testing frameworks means that Python tests are being written more succinctly, more uniformly, and with better reporting of results than ever before. Adopting one of the new generation of Python testing frameworks will provide concise idioms and uniform testing techniques that, in the past, every Python project had to supply for itself.
Scaling Django web apps on Apache
Django is a lightweight framework with vibrant community surrounding it. Create a simple Django application and learn how to deploy it to the Web on a server running Apache and mod_python. Finally, learn how Django applications can and should be scaled as your application's requirements grow.
Distributing computing with RPyC
RPyC is a seamless library for integrating Python processes on many machines/processes. This article looks at the advantages or drawbacks RPyC has over other distributed Python frameworks such as XML-RPC and Pyro. A few simple examples of using RPyC are included to give you a feel for the library.
Amazon cloud computing SimpleDB boto Python processing
Amazon SimpleDB (SDB) is a fast, scalable real-time dataset indexing and querying framework that makes it easy to store and retrieve structured data for Amazon Web Services-based applications in the cloud. In this article, learn some of the basic concepts of Amazon Cloud computing and check out some of the functions provided by the third-party open source Python library named boto. You will get familiar with Amazon Cloud computing and SDB by running small snippets of boto code in a Python shell.
Eclipse DLTK IDE for Perl, Python, and PHP scripting
Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. This tutorial Walks you through the process of building a DLTK-based IDE and provides sample code for each step.
Python 3 Metaclasses and other strange creatures Part-2
Python 3 is the latest version of Guido van Rossum's powerful general-purpose programming language. It breaks backwards compatibility with the 2.x line but has cleaned up some syntax issues. This second article builds on the previous article. In Part 2 of this two-part series, discover more new Python features and details on more advanced topics such as changes in abstract base classes, metaclasses, and decorators.
Python 3 Metaclasses and other strange creatures Part-1
Python 3 is the latest version of Guido van Rossum's powerful general-purpose programming language. It breaks backwards compatibility with the 2.x line but has cleaned up some syntax issues. This article is the first in a series that talks about the changes that affect the language and backwards compatibility, and it provides examples of new features.
All the Lightweight Web servers of the world
There's far more to the world of Web servers than just Apache and IIS. While lightweight Web servers have much in common, there's also variation within the category. Most are written in C, but several other implementation languages have proven successful among the servers with which I've experimented, including Erlang, Java, Lisp, Lua, Perl, Python, and Tcl. If there's a language you favor, you can probably find a lightweight Web server here coded for your convenience. survey the possibilities and see how they apply to you.
2008
Create GPS-aware Nokia N810 apps with Eclipse and Python
This article shows you how choosing Python and Eclipse as the core technologies for Nokia N810 application development makes it easy to create unit tests to add built-in testing to the end product. See how easy it is to configure a development environment targeted at the Nokia N810 Internet Tablet, including setting up Eclipse on a target development machine for the Python language.
2007
Using Python, Ruby, and Web services
You can use your existing code to create service components. Learn how to expose your scripts as SCA components and Web services using the Python, Ruby, and Web services support in Apache Tuscany SCA for C++. Create reusable, composable SCA components that are linked together within composites and exposed and invoked using whichever technologies are most suitable to the system being built.
2006
MochiKit feels like Python but delivers high-level JavaScript
MochiKit takes its main inspiration from Python, and from the many conveniences the Python standard library offers; but on the side it also smooths over the inconsistencies among browser versions. MochiKit.DOM is a particularly handy component that lets you work with DOM objects in much friendlier ways than raw"JavaScript provides. A lot of MochiKit.DOM is customized for XHTML work, which possibly makes its use of XHTML wrapped microformats particularly convenient when combining MochiKit and Ajax.
1
(15 marks)