Is there a commas-in-between idiom?

Fredrik Lundh fredrik at pythonware.com
Mon Nov 6 09:10:06 EST 2006


Ernesto García García wrote:

> it's very common that I have a list and I want to print it with commas 
> in between. How do I do this in an easy manner, whithout having the 
> annoying comma in the end?

I've collected a bunch of list pydioms and other notes here:

    http://effbot.org/zone/python-list.htm

For formatting issues, see:

    http://effbot.org/zone/python-list.htm#printing

</F>




More information about the Python-list mailing list