Python Essential Reference, 2nd Edition
I'm pleased to report that the 2nd edition of the Python Essential
Reference (New Riders Publishing) has recently been completed and is
on its way to the presses. This edition retains the concise style of
the first edition, but has been extensively updated to incorporate new
language features and core modules added to Python 2.0 and Python 2.1.
This edition would not be possible without the feedback I received
from the first edition. Therefore, I'd like to acknowledge the
following individuals for their contributions and suggestions:
Paul Dubois, David Ascher, Mats Wichmann, Tim Bell, Jan Decaluwe, Mike
Coleman, Andrew Kuchling, Greg Ward, Richard Wolff, Holger Durer,
Patrick Moran, Christian Norgaard Storm Pedersen, Dustin Mitchell,
Benjamin Smith, Michael Drumheller, Brett Porter, Michael Dyck, Ian
Thomas Cohen, Steve Burns, David Morrill, Dennis McCoy, Peter Koren,
Richard Gruet, Hamish Lawson, Michael Rodgers, Eric Rowe, Phil Austin,
Aaron Digulla, Jack Gilbert, Joseph Sachs, Daniel Klein, Cecil
Edwards, and apologies to anyone I might have missed.
I just hacked together some code using the Python extension to vim that
handles moving to the start and end of a code block (like using '%' on the
braces in a language so impaired ;-). Basically it moves to the first or
last line at the current indent level or higher -- stopping before getting
to a (non-blank) line of lesser indent.
I don't use '(' or ')', so I do:
map ( :python pythonblockStart()^M
map ) :python pythonblockEnd()^M
It's available at ftp://ftp.tummy.com/pub/tummy/python-vim/
Language is the most important .. uh.. I think you know what I'm trying
to say. -- Steve Martin
Sean Reifschneider, Inimitably Superfluous <jafo(a)tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
The first release of TBA (version 1.0) is now available. This is also an
announcement for the release of a paper, "The Power of Iterators in Python,"
available on the TBA web site.
TBA is a general-purpose collection of pure Python modules. Right now, it
just has a few iterator adapters.
TBA-1.0 and the paper mentioned above are available from the TBA web site:
Available formats are: .tar.gz, .zip, and Windows installer (.exe)
Iterators are actually not going to be introduced until Python 2.2, but
TBA-1.0 contains code that emulates iterators for Python 2.1. For more
information on iterators, see PEP 234 and the mailing list archives for
python-iterators on SourceForge.
The licence for TBA is BSD-derived (this is an open-source licence that
allows commercial usage).
<P><A HREF="http://sourceforge.net/projects/tba-py/">TBA 1.0</A> -
General-purpose pure Python iterator adapters. (22-May-01)
The second beta of version 4 of the Win32 Installer package is
The second beta fixes some bugs in the first beta (particularly
tracing resources into subpackages), and adds semi-automated
support for COM clients.
Version 4 handles all Python versions from 1.5
onward (it's been tested with 1.5 and 2.0). It has a number of
- set a Windows version resource in the executable
(NT / Win2K only), including the ability to create a
version resource from Python
- a utility to analyze the dependency tree of a script / module
(including a cross-reference)
- warnings issued when dynamic code encountered
(__import__, exec, eval)
What is it?
The Installer is a set of tools for distributing Python
applications. The target machines do not need to have
Python installed, or may have a different version of
The Windows version (there's a more limited Linux version,
too), has top level scripts for 3 configurations:
- Standalone: create a single directory installation for your app
- Simple: wraps a Standalone with a simple install script
- Freeze: creates an executable that unpacks itself at run
time, and cleans up afterward.
More complex distributions can be created by writing your
own config file and passing it to Builder.
Win32 Installer release 4a</A> A compiler-less way
of distributing Python apps on Windows. (20-May-01)
I am pleased to announce first release of PyVTK-0.3:
PyVTK provides tools for manipulating VTK files in Python:
VtkData - Create VTK file from Python objects. It fully
supports VTK File Formats Standard 2.0. The features
*** ascii and binary output
*** DataSet formats:
StructuredPoints, StructuredGrid, RectilinearGrid,
*** Data formats:
*** DataSetAttr formats:
Scalars, ColorScalars, LookupTable, Vectors,
Normals, TextureCoordinates, Tensors, Field
PyVTK is tested to work with Python versions 2.1, 2.0, and 1.5.2.
<P><A HREF="http://cens.ioc.ee/projects/pyvtk/">pyvtk 0.3</A> -
Manipulate VTK files in Python (21-May-01)
Module for writing GUI "wizards"
Wizard is a Python module designed to make it easy to write GUI
"wizards". You know, those "enter your name, click NEXT" kinds of things
that you see all the time when using Microsoft products.
This update adds "dynamic sheets" so that application code can generate
display text on the fly. This is useful for last-chance "show what we're
going to do" pages.
License: Open Source
Rich Salz (rsalz(a)zolera.com)
<a href="http://www.zolera.com/resources/opensrc">Wizard 1.1</a> --
Module for writing GUI "wizards"
we have made available Guido's Official Python Tutorial (release 2.1)
translated to Brazilian Portuguese at
There people will find a downloadable version in .pdf
and another one in .tex (for the bold and brave).
And in the near future we'll be making a full-blown Python
course material (in Portuguese) also available.
I strived to keep the translation absolutely faithful to content and
style of the original document. It was generated within Python's Doc
Framework to keep the same look-and-feel.
I have asked python-doc to add a link to it!
rodsenra(a)gpr.com.br (0XX19) 3253-18888 ramal 28
GPr Sistemas Ltda -- http://www.gpr.com.br
The latest version of SOAP.py (a SOAP implementation in written in Python),
was released today.
Check out it's interop matrix (will be updated with latest results tomorrow,
some of the endpoints are down) :
Download it :
Name: SOAP.py 0.9.5 (actzero.com)
Comments, feedback, patches, etc... very welcome.
Changes since last version:
- Should parse and build all 1999, 2000, 2001, and SOAP-ENC datatypes.
- Initial handling of multi-dimensional, partial, and sparse arrays.
- Supports SSL clients (if Python built with OpenSSL).
- Supports SSL servers (if M2Crypto installed).
- Applies defaults to SOAPproxy URLs (nice for command-line tools).
- Added the _SOAPContext object, gives registered server functions more info
about the current call.
- Now assumes that any type that isn't in a schema could be a struct.
- Added the Config object, now config options can be set globally or on an
individual call level.
- Deprecated the DateTime, Binary and Boolean types, should now
use dateTimeType, binaryType and booleanType.
- Includes N+I interop suite.
- Various bug fixes and improvements.