Python-URL! - weekly Python news and links (Jul 6)
python-url at phaseit.net
Mon Jul 6 17:33:47 CEST 2009
QOTW: "Simulating a shell with hooks on its I/O should be so complicated that
a 'script kiddie' has trouble writing a Trojan." - Scott David Daniels
Python 3.1 final was released last week - congratulations!
Clarity of code vs. reusability in an introductory course:
A piece of code analyzed, looking for ways to improve speed:
Beginner question: How to define an indeterminate number of variables?
How to create objects, and later reference them, when one doesn't know
how many of them will be needed?
Simple things made simple: correct use of Unicode helps a lot in this case:
super() and multiple inheritance: __init__ is hard to get right. Also,
Carl Banks explains how mixin classes are best used:
iter(function, sentinel) is a handy way to iterate in some cases, but
beware of the fine print:
The testing code should not merely repeat the code being tested (this
fact isn't obvious to everyone):
Organize code so it can be run both in the source tree and after being
Mark Dickinson explains the C implementation of long integers:
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
Just beginning with Python? This page is a great place to start:
The Python Papers aims to publish "the efforts of Python enthusiasts":
The Python Magazine is a technical monthly devoted to Python:
Readers have recommended the "Planet" sites:
comp.lang.python.announce announces new Python software. Be
sure to scan this newsgroup weekly.
Python411 indexes "podcasts ... to help people learn Python ..."
Updates appear more-than-weekly:
The Python Package Index catalogues packages.
Much of Python's real work takes place on Special-Interest Group
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.
The Summary of Python Tracker Issues is an automatically generated
report summarizing new bugs, closed ones, and patch submissions.
Although unmaintained since 2002, the Cetus collection of Python
hyperlinks retains a few gems.
The Cookbook is a collaborative effort to capture useful and
Many Python conferences around the world are in preparation.
Watch this space for links to them.
Among several Python-oriented RSS/RDF feeds available, see:
For more, see:
The old Python "To-Do List" now lives principally in a
del.icio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Python intelligence.
Enjoy the *Python Magazine*.
*Py: the Journal of the Python Language*
Dr.Dobb's Portal is another source of Python news and articles:
and Python articles regularly appear at IBM DeveloperWorks:
Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
There is *not* an RSS for "Python-URL!"--at least not yet. Arguments
for and against are occasionally entertained.
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
"Python-URL!". Write to the same address to unsubscribe.
-- The Python-URL! Team--
Phaseit, Inc. (http://phaseit.net) is pleased to participate in and
sponsor the "Python-URL!" project. Watch this space for upcoming
news about posting archives.
More information about the Python-list