Can you make this faster?

Paul Rubin http
Sun Jun 27 19:06:44 EDT 2004


"Martin v. Löwis" <martin at v.loewis.de> writes:
>          if c == 's':
>              fmt[i] = str(len(arg))+'s'

   fmt[i] = "%ds" % len(arg)

might be a little faster.



More information about the Python-list mailing list