Dr. Dobb's Python-URL! - weekly Python news and links (Oct 8)
Erik Max Francis
max at alcyone.com
Tue Oct 8 23:57:43 CEST 2002
Thanks to Terry Hancock for his help preparing this week's "Python-URL!".
QOTW: "This crucial point -- that language preferences and preferences
about libraries and environments ARE quite normally decoupled -- is
often lost on Java fans, who seem to think of a language and a huge set
of libraries and environments as somehow welded. Most fortunately, they
aren't. People who prefer the Python language, in particular, can freely
and independently choose to use the set of libraries and environments
designed for Java (thanks to Jython), or those that Classic Python
supports (i.e., with some wrapping work, just about anything available
for/in C or C++, plus Python specials such as Numeric and the like)."
"Why use an algorithm when you've got a gigahertz CPU and a list
comprehension?" Marco Mariani
"[S]ame software, different verbosity settings (this one goes to eleven)."
-- the effbot on the martellibot
Carl Banks gives a tiny glimpse of tensors, a generalization of
matrices, and how they relate to scalars and Numeric:
Mark McEahern reminds us that testing for None-ness is best done
via the is operator rather than ==, due to the possibility of
overridden __eq__ methods:
Alex Martelli talks about the content and co-editing of the
excellent _Python Cookbook_ (O'Reilly, 2002):
Christopher A. Craig posts a notice about a reference
implementation for PEP 239 of how builtin Python rationals might
Roy Smith points out that using binary pickles is an easy way to
Martin v. Löwis gives fair warning about Tk's partial use of UTF-8
Alex Martelli outlines the usage and pitfalls of using the compile
Martin v. Löwis advises someone on using a factory function when
they want a constructor to return None, rather than throw, upon
A case study in the performance analysis of the seemingly
straightforward issue of deleting the first element of a list,,
with highlights by Alex Martelli on the complexity vs. performance
for making Python strings mutable:
Merging lists makes brains hurt. Examples to keep newbies busy:
A long, fragmented thread hammers out the gory details of decimal
arithmetic, "banker's" arithmetic, floating point, and fixed
point. Impress your boss -- have your computer do math the right
way, the human way, the way that's easy on ten fingers.
PEP239 (Rational Numbers) Reference Implementation and new issues
Long and interesting discussion of how rational numbers (fractions
to those of us who eschew obfuscation) might look in Python.
Can Python be used to debug other languages? As Cameron Laird
observes, people have very different ideas of what "debug" means.
Thus, they answer this question in completely contradictory, but
perfectly valid ways.
Chris Myers posts a Mensa puzzle involving interpreting the digits
involved in a multiplication problem, resulting in a variety of
brute-force solutions in Python:
Brief exploration of extraction of text from HTML.
Komodo 2.0 appears.
The first 3.x beta of PySNMP, an SNMP framework implemented purely
Barry A. Warsaw releases the standalone 2.4 version of the
email package, identical to the CVS tree for Python 2.3:
It isn't really a screensaver, but then who really needs
a screensaver anymore? It's art, not engineering, blast it!
François Pinard releases version 0.2 of Recodec, a clone of Free
recode which converts strings or files between character sets:
Klaus G. Müller announces SimPy, the first discrete event
simulation package for Python:
Netfarm Mail Archiver is a Python- and Zope-based mail filter
which processes all incoming and outgoing emails and extracts
Python DNS Cache is (you guess it) a DNS cache module written in
Bannerfish is a simple banner advertising system using Python and
A rundown of what's new in the upcoming Python 2.3 release:
Python-related quotations, from A.M. Kuchling:
How vague can you get? But Benjamin's question "what should I program?"
raises a number of interesting project inspirations and links.
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 Vaults of Parnassus ambitiously collect Python resources
Much of Python's real work takes place on Special-Interest Group
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*
Links2Go is a new semi-automated link collection; it's impressive
what AI can generate
Tenth International Python Conference
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