[ANN] istring 1.0.1 released; announce list created

Michael Ströder michael at stroeder.com
Wed Mar 6 06:58:55 EST 2002


Steven D. Arnold wrote:
> 
>>>>from neo.istring import istring as i
>>>>n = 100
>>>>s = i("Value is $n")
>>>>s
>>>>
> "Value is 100"

Maybe it's me but I can't see the advantage over using

 >>> n = 100
 >>> s = "Value is %s" % (n)
 >>> s
'Value is 100'

How about providing a more complex example illustrating the benefits of istring?

Ciao, Michael.




More information about the Python-list mailing list