Dr. Dobb's Python-URL! - weekly Python news and links (Jul 28)
Irmen de Jong
python-url at phaseit.net
Mon Jul 28 11:19:45 CEST 2003
QOTW: "What's the reason for having two symbols [!= and <>] mean the same
thing? Hysterical raisins. Python originally used only '<>'. C
programmers whined about that, so Python added '!=' too. But Python code
already used '<>', so it was too late to get rid of that one. '<>' was
deprecated instead. That's a computer science term usually meaning it's
like a mentally disturbed uncle: we won't kill it, but we won't talk about
it either <wink>. The good news is that Guido has become more hardened to
whining over the centures since then." -- Tim Peters
"As they say, science advances, funeral by funeral."
-- Marc Wilson
Raymond Hettinger intrigues with the third episode of a series of
mysterious Python puzzles.
Paul Rubin proposes a language extension to deal with closing files
in a nice way.
While the original question was about scripting Paint Shop Pro
Duncan Booth shows how easy it is to write text in an image
by using PIL.
Steven Taschuk discusses several ways to implement Singletons in Python.
Raymond St. Marie writes something that I'm not sure of what it is,
but it is funny nonetheless.
Chris Perkins wrote a checkable iterator, for when you need to
know when an iterator is exhausted.
Raymond Hettinger argues that a new syntax to create Sets is not needed.
Bengt Richter gives a detailed analysis and example code for a
genric 'namespace' type to store variables in.
A possible way to help you finding errors in your Python programs is by
listing all identifiers that are used. Bengt Richter wrote a little program
that does just this (mind the correction in the follow-up message).
It was a busy week, last week!
Guido van Rossum is interviewed in the Wall Street Journal.
Bruce Eckel talks with Bill Venners about how Python's minimal finger
typing allows programmers to focus on the task, not the tool, generating
a productivity that makes more projects feasible.
Python 2.3 release candidate 2, the second and last release candidate
for Python 2.3 This will become Python 2.3 final if no new major bugs
are found this week.
A binary installer for MacPython-2.3rc2 for Mac OS X 10.2:
PythonD 2.2.1 Release 2.0, a 32-bit, multi-threaded, networking- and
OpenGL-enabled Python interpreter for DOS and Windows
KirbyBase is a simple, pure-python, flat-file database management
Epydoc 2.0, a tool for generating API documentation for Python modules,
based on their docstrings.
Aap's 1.0 release is not only "the first stable version of this
powerful build tool", but offers the potential of real money
for interested developers.
py2exe 0.4.1, is a distutils extension to convert python scripts into
windows exe-files (plus a few dlls), able to run on computers without
requiring a python installation.
The SciPy '03 Workshop on Scientific Computing with Python is being held
at Cal Tech again this year. It is a two day workshop held September
11-12 in Pasadena, CA.
WebTK 0.alpha3, a Python framework using Twisted as its underlying
Web server, allowing webmasters to develop websites like any classic
Leo 3.12, an outlining editor/browser/organizer for programmers.
numarray 0.6, an array processing extension supporting records,
memory mapping, and computational capabilities.
CUTE 0.1.6, a Qt and Scintilla based text editor which can be
easily extended using python.
SciParam 1.0.0 is a Python package to easily add additional quality
control for entering scientific parameters in wxPython-based user
WordUtils 0.7.0, pure-Python objects related to word searching
Fnorb 1.3, a pure-Python CORBA implementation.
cx_Freeze 2.1, a set of utilities for freezing Python scripts into
executables. cx_OracleDBATools 1.2 and cx_OracleTools 7.1, a set of
Python scripts that handle Oracle tasks in a cross platform manner.
imgv 2.8.6, a cross-platform image viewer written entirely in Python,
pynum2word-0.1, translate numbers into words in different languages.
Everything you want is probably one or two clicks away in these pages:
Python.org's Python Language Website is the traditional
center of Pythonia
Notice especially the master FAQ
PythonWare complements the digest you're reading with the
daily python url
Mygale is a news-gathering webcrawler that specializes in (new)
World-Wide Web articles related to Python.
While cosmetically similar, Mygale and the Daily Python-URL
are utterly different in their technologies and generally in
comp.lang.python.announce announces new Python software. Be
sure to scan this newly-revitalized newsgroup at least weekly.
Brett Cannon continues the marvelous tradition established by
Andrew Kuchling and Michael Hudson of summarizing action on the
python-dev mailing list once every other week.
The Python Package Index catalogues packages.
The somewhat older Vaults of Parnassus ambitiously collects references
to all sorts of Python resources.
Much of Python's real work takes place on Special-Interest Group
The Python Business Forum "further[s] the interests of companies
that base their business on ... Python."
The Python Software Foundation has replaced the Python Consortium
as an independent nexus of activity
Cetus does much of the same
The old Python "To-Do List" now lives principally in a
The online Python Journal is posted at pythonjournal.cognizor.com.
editor at pythonjournal.com and editor at pythonjournal.cognizor.com
welcome submission of material that helps people's understanding
of Python use, and offer Web presentation of your work.
*Py: the Journal of the Python Language*
Archive probing tricks of the trade:
Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
Suggestions/corrections for next week's posting are always welcome.
E-mail to <Python-URL at phaseit.net> should get through.
To receive a new issue of this posting in e-mail each Monday morning
(approximately), ask <claird at phaseit.net> to subscribe. Mention
-- The Python-URL! Team--
Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Python-URL!" project.
More information about the Python-list