FLexible formatted text involving nested lists?

RossRGK nobody at nospam.noway
Fri Oct 10 09:52:06 EDT 2008


davidsands wrote:

> 
> The tuple() type-conversion function will do what you need:
> 
>    print fmts[0] % tuple(bigList[0])
>    print fmts[1] % tuple(bigList[1])
>    print fmts[2] % tuple(bigList[2])
> 

I never thought of the tuple type conversion - that looks promising. 
Thanks for that!

R.



More information about the Python-list mailing list