Python Mystery Theatre -- Episode 2: =?iso-8859-1?q?As=ED?= Fue

Bernhard Herzog bh at intevation.de
Tue Jul 15 05:18:18 EDT 2003


"Raymond Hettinger" <vze4rx4y at verizon.net> writes:

> [Jason Trowbridge]
> > Act I
> > I didn't know that python formatting could do that!  I've always
> > treated it like C's printf-style of statements, as that seems to be
> > what it's primarily based off.
> 
> That's why this one was included.
> Hope everyone learned something new.

C's printf can do this too. At least the one in the GNU libc can. It's
docs don't say anything about this being a GNU extension so I guess it
can be found in other libcs as well, though probably not in all.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/




More information about the Python-list mailing list