Get more out of wroxcom

Take an active role online by participating in our P2P forums p2p.wrox.com Hundreds of our books are available online through Books24x7.com Download short informational pieces and code to keep you up to date and out of trouble Sign up for our free monthly newsletter at newsletter.wrox.com Ready for more Wrox We have books and e-books available on .NET, SQL Server, Java, XML, Visual Basic, C C++, and much more We always like to get feedback from our readers. Have a book idea Need community...

Creating GUI Widgets with Tkinter

The first thing to understand is that most GUI frameworks, including Tkinter, are based on a widget model. A widget is a component of a GUI buttons, labels, and text boxes are all widgets. Most widgets have graphical representations on screen, but some widgets, such as tables and boxes, exist only to contain other widgets and arrange them on the screen. A GUI is constructed out of an arrangement of widgets. In the following section, you create a simple GUI by defining some widgets and placing...

Writing Java EE Servlets in Jython

Most Java development revolves around enterprise applications. To help or hinder, depending on your view , Java defines a set of standards called Java EE, or Java Platform Enterprise Edition. The Java EE standards define an application server and the APIs such a server must support. Organizations can then choose application servers from different vendors, such as WebSphere from IBM, WebLogic from Bea, JBoss from the JBoss Group, and Tomcat from the Apache Jakarta project. Java developers write...

Human Readable API Documentation

In my opinion, no matter which web service protocol you're using, nothing beats an up- to - date human -readable description of an API. This can be written manually or generated through introspection and the use of Python docstrings. Up next are three sample documents that describe the three web service APIs for the BittyWiki application created in this chapter. They're all extremely short, but they contain all the information a user needs to write an application using any of them. To get the...

The LAME Project

LAME is or was an acronym that originally stood for LAME Ain't an MP3 Encoder. Whether or not it's officially considered an MP3 encoder isn't important to you, because it functions as a most excellent free and open-source library that is capable of encoding MP3s. Dozens of software projects use LAME but not many are implemented in Python, which is why you'll be using it as an example to demonstrate just how easy it is to create extension modules for Python that leverage an existing C code base,...