Dr. Dobb's Python-URL! - weekly Python news and links (Jun 22)
python-url at phaseit.net
Wed Jun 22 18:02:48 CEST 2005
QOTW: "Python is more concerned with making it easy to write good programs
than difficult to write bad ones." - Steve Holden
"Scientists build so that they can learn. Programmers and engineers learn
so that they can build." - Magnus Lycka
"It happens that old Java programmers make one module per class when they
start using Python. That's more or less equivalent of never using more
than 8.3 characters in filenames in modern operating systems, or to make
a detour on your way to work because there used to be a fence blocking the
shortest way a long time ago." - Magnus Lycka
Python doesn't currently have a case or switch statement. Case blocks
are easily simulated with if, elif, and else, but would Python's
readability benefit from having it built in?:
A Podcast worth listening to at last. Guido speaks on Python's history
If your class implements __eq__ but not __ne__, (a = b) does not imply
!(a != b). If this something that should be fixed, or just a "gotcha"?
John Machin instructively analyzes several of Excel's defects as a
data-management vehicle, obliquely highlighting Python's Zen. Tim
Roberts follows up with a small but potentially crucial addendum
pertinent, among others, to those who deal with USA "zip codes":
Recent (unreleased) work on distutils allows you to automatically
upload packages to PyPI:
Text files and line endings; Python helps you out on Windows, which can
be a little confusing:
Kalle wants to protect his instance attributes. He's warned off the
idea, but at the same time, alex23 demonstrates an interesting way of
doing it using properties():
Creating a Python iterator by wrapping any callable:
Richard Lewis wants resumable exceptions. Python doesn't have them,
but Peter Hansen shows him how to achieve what he wants, and Willem
shows us how resumable exceptions work in Lisp:
Jan Danielsson is confused about the difference between __str__ and
__repr__, and what they are both for:
The Kamaelia Framework; communicating with and linking Python generators:
Ron Adams proposes an "also" block to be executed if a "for" loop's
"else" block isn't, and more controversially, that the "else" block's
meaning be switched:
How you convince your marketing drones that switching from Python to
Java would be A Bad Thing?
Why should an ambitious 14-year-old look at Python? (And why source-code
hiding is a waste of time.)
Everything Python-related you want is probably one or two clicks away in
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
marvelous 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
For far, FAR more Python reading than any one mind should
absorb, much of it quite interesting, several pages index
much of the universe of Pybloggers.
comp.lang.python.announce announces new Python software. Be
sure to scan this newsgroup weekly.
Steve Bethard, Tim Lesher, and Tony Meyer continue the marvelous
tradition early borne by Andrew Kuchling, Michael Hudson and Brett
Cannon of intelligently 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."
Python Success Stories--from air-traffic control to on-line
match-making--can inspire you or decision-makers to whom you're
subject with a vision of what the language makes practical.
The Python Software Foundation (PSF) has replaced the Python
Consortium as an independent nexus of activity. It has official
responsibility for Python's development and maintenance.
Among the ways you can support PSF is with a donation.
Kurt B. Kaiser publishes a weekly report on faults and patches.
Cetus collects Python hyperlinks.
The Cookbook is a collaborative effort to capture useful and
Among several Python-oriented RSS/RDF feeds available are
For more, see
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.
del.icio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Python intelligence.
*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:
http://www.ddj.com/topics/pythonurl/ (requires subscription)
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-announce-list