percent string replacement with index

Ulrich Eckhardt eckhardt at satorlaser.com
Wed Jun 25 04:17:24 EDT 2008


Ulrich Eckhardt wrote:
> What I'm surprised is that this isn't supported:
> 
>   "%(1)s %(2)s" % ("zero", "one", "two")

Thanks Terry and Matimus, actually I'm using 2.4 and considering upgrading
now. ;)

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list