Dear Python users,
I am pleased to announce version 9.2 of the data plotting software
DISLIN is a high-level and easy to use plotting library for
displaying data as curves, bar graphs, pie charts, 3D-colour plots,
surfaces, contours and maps. Several output formats are supported
such as X11, VGA, PostScript, PDF, CGM, WMF, HPGL, TIFF, GIF, PNG,
BMP and SVG.
The software is available for the most C, Fortran 77 and Fortran 90/95
compilers. Plotting extensions for the interpreting languages Perl,
Python and Java are also supported.
DISLIN distributions and manuals in PDF, PostScript and HTML format
are available from the DISLIN home page
and via FTP from the server
All DISLIN distributions are free for non-commercial use. Licenses
for commercial use are available from the site http://www.dislin.de.
Max Planck Institute for
Solar System Research Phone: +49 5556 979-334
Max-Planck-Str. 2 Fax : +49 5556 979-240
D-37191 Katlenburg-Lindau Mail : michels(a)mps.mpg.de
We will be holding our regular PyGTA meeting next Tuesday, the 16th of
October. Topic proposed is: Continuations, Tasklets, Co-routines and
Micro-threading. Be the first on your block to be able to say "I broke
my brain with Python!" This is the ever-so-neat deep-dark
computer-science-y stuff that everyone loves to expand their minds
around while drinking copious quantities of caffeine.
As usual, we'll gather at the lovely Linux Caffe at the corner of Grace
and Harbord in downtown Toronto, just one block South of Christie
station. We'll aim to start the meeting at 7:00pm.
More details at:
Have fun all,
Mike C. Fletcher
Designer, VR Plumber, Coder
I'm happy to announce release 0.65.2 of Task Coach. This release is
aimed at performance improvement.
* Slow performance.
* Don't require administrator privileges for installation on Windows XP/Vista.
What is Task Coach?
Task Coach is a simple task manager that allows for hierarchical
tasks, i.e. tasks in tasks. Task Coach is open source (GPL) and is
developed using Python and wxPython. You can download Task Coach from:
In addition to the source distribution, packaged distributions are
available for Windows XP, Mac OSX, and Linux (Debian and RPM format).
Note that Task Coach is alpha software, meaning that it is wise to back
up your task file regularly, and especially when upgrading to a new release.
Pyrex 0.9.6.1 is now available:
This version fixes a few minor problems that turned
up in the initial 0.9.6 release.
What is Pyrex?
Pyrex is a language for writing Python extension modules.
It lets you freely mix operations on Python and C data, with
all Python reference counting and error checking handled
=== Leipzig Python User Group ===
We will meet on Tuesday, Oktober 9 at 08:00pm at the training
center of Python Academy in Leipzig, Germany
( http://www.python-academy.com/center/find.html ).
Markus Zapke-Gründemann will present an example
application with Nevow.
Food and soft drinks are provided. Please send a short
confirmation mail to info(a)python-academy.de, so we can prepare
Everybody who uses Python, plans to do so or is interested in
learning more about the language is encouraged to participate.
While the meeting language will be mainly German, we will provide
English translation if needed.
Current information about the meetings are at
== Leipzig Python User Group ===
Wir treffen uns am Dienstag, 09.10.2007 um 20:00 Uhr
im Schulungszentrum der Python Academy in Leipzig
( http://www.python-academy.de/Schulungszentrum/anfahrt.html ).
Markus Zapke-Gründemann wird eine Beispielanwendung mit
Für das leibliche Wohl wird gesorgt. Eine Anmeldung unter
info(a)python-academy.de wäre nett, damit wir genug Essen
Willkommen ist jeder, der Interesse an Python hat, die Sprache
bereits nutzt oder nutzen möchte.
Aktuelle Informationen zu den Treffen sind unter
http://www.python-academy.de/User-Group zu finden.
I'm happy to announce that I have just uploaded the latest release
(v1.4.8) of pyparsing. This release has a few new features and
corresponding demonstration examples. There are also a few minor
bug-fixes, and a performance speedup in the operatorPrecedence method.
Here are the notes:
- Added new helper method nestedExpr to easily create expressions
that parse lists of data in nested parentheses, braces, brackets,
- Added withAttribute parse action helper, to simplify creating
filtering parse actions to attach to expressions returned by
makeHTMLTags and makeXMLTags. Use withAttribute to qualify a
starting tag with one or more required attribute values, to avoid
false matches on common tags such as <TD> or <DIV>.
- Added new examples nested.py and withAttribute.py to demonstrate
the new features.
- Added performance speedup to grammars using operatorPrecedence,
instigated by Stefan Reichör - thanks for the feedback, Stefan!
- Fixed bug/typo when deleting an element from a ParseResults by
using the element's results name.
- Fixed whitespace-skipping bug in wrapper classes (such as Group,
Suppress, Combine, etc.) and when using setDebug(), reported by
new pyparsing user dazzawazza on SourceForge, nice job!
- Added restriction to prevent defining Word or CharsNotIn expressions
with minimum length of 0 (should use Optional if this is desired),
and enhanced docstrings to reflect this limitation. Issue was
raised by Joey Tallieu, who submitted a patch with a slightly
different solution. Thanks for taking the initiative, Joey, and
please keep submitting your ideas!
- Fixed bug in makeHTMLTags that did not detect HTML tag attributes
with no '= value' portion (such as "<td nowrap>"), reported by
hamidh on the pyparsing wiki - thanks!
- Fixed minor bug in makeHTMLTags and makeXMLTags, which did not
accept whitespace in closing tags.
Download pyparsing 1.4.8 at http://sourceforge.net/projects/pyparsing/.
The pyparsing Wiki is at http://pyparsing.wikispaces.com
Pyparsing is a pure-Python class library for quickly developing
recursive-descent parsers. Parser grammars are assembled directly in
the calling Python code, using classes such as Literal, Word,
OneOrMore, Optional, etc., combined with operators '+', '|', and '^'
for And, MatchFirst, and Or. No separate code-generation or external
files are required. Pyparsing can be used in many cases in place of
regular expressions, with shorter learning curve and greater
readability and maintainability. Pyparsing comes with a number of
parsing examples, including:
- "Hello, World!" (English, Korean, Greek, and Spanish(new))
- chemical formulas
- configuration file parser
- web page URL extractor
- 5-function arithmetic expression parser
- subset of CORBA IDL
- chess portable game notation
- simple SQL parser
- Mozilla calendar file parser
- EBNF parser/compiler
- Python value string parser (lists, dicts, tuples, with nesting)
(safe alternative to eval)
- HTML tag stripper
- S-expression parser
- macro substitution preprocessor
A free, 2 hour hands-on tutorial for genomics software developers will
be offered by the Galaxy team at the start of this year's American
Society for Human Genetics meeting Tuesday, October 23 4:00pm -
6:00pm, San Diego Marriott Hotel and Marina.
See http://ashg2007.g2.bx.psu.edu/ for details and signup.
Galaxy is a mature, open-source, translational genomics workbench
framework, written in Python, and designed to make it easy for
developers and bioinformaticians to provide a consistent, integrated,
web based interface to genomics applications and resources for command
line averse biologists. Galaxy supports reproducible research by
persisting each step in an analysis as seen in
http://screencast.g2.bx.psu.edu/MainUseExample.mov , and features low-
impedence integration with major data and annotation sources including
BioMart and UCSC. The main Galaxy site at http://main.g2.bx.psu.edu/
offers a free, public service, but a local Mac or Linux private server
test installation is quick (see http://g2.trac.bx.psu.edu/wiki/HowToInstall),
and the Galaxy tool menu in a private instance is easily extended -
any command line executable that takes command line parameters
(including Python, R, and perl scripts, Java, compiled C++, or even
Cobol...anything the target machine can execute) can be "wrapped" into a
Galaxy tool by providing a simple XML interface specification (see the
screencast at http://g2.trac.bx.psu.edu/wiki/AddToolTutorial).
(If you plan on coming, and have a Mac or Linux laptop, please pre-
install Galaxy to save time and load on the alternative arrangements
we're making for Win laptop users)
Version 0.3.7 of the Python config module has been released.
What Does It Do?
The config module allows you to implement a hierarchical configuration
scheme with support for mappings and sequences, cross-references
between one part of the configuration and another, the ability to
flexibly access real Python objects, facilities for configurations to
include and cross-reference one another, simple expression evaluation
and the ability to change, save, cascade and merge configurations. You
can easily integrate with command line options using optparse.
This module has been developed on python 2.3 but should work on
version 2.2 or greater. A test suite using unittest is included in the
A very simple configuration file (simple.cfg):
# starts here
message: Hello, world!
a very simple program to use it:
from config import Config
cfg = Config(file('simple.cfg'))
Configuration files are key-value pairs, but the values can be
containers that contain further values.
A simple example - with the example configuration file:
stream : `sys.stderr`
stream : `sys.stdout`
stream : $messages.stream
a program to read the configuration would be:
from config import Config
f = file('simple.cfg')
cfg = Config(f)
for m in cfg.messages:
s = '%s, %s' % (m.message, m.name)
print >> m.stream, s
except IOError, e:
which, when run, would yield the console output:
The above example just scratches the surface. There's more information
about this module available at
Comprehensive API documentation is available at
As always, your feedback is most welcome (especially bug reports,
patches and suggestions for improvement). Enjoy!
Red Dove Consultants Ltd.
Changes since the last release posted on comp.lang.python[.announce]:
Added Mapping.__delitem__ (patch by John Drummond).
Mapping.__getattribute__ no longer returns "" when asked
for "__class__" - doing so causes pickle to crash
(reported by Jamila Gunawardena).
Allow negative numbers (reported by Gary Schoep; had
already been fixed but not yet released).