Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: Concatenate list values Date: Mon, 23 Feb 2015 16:07:02 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 16 Message-ID: References: <12821378-62af-4954-8b61-aa0738c5ff5c@googlegroups.com> NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1424707622 13388 166.84.1.3 (23 Feb 2015 16:07:02 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 23 Feb 2015 16:07:02 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:86231 In <12821378-62af-4954-8b61-aa0738c5ff5c@googlegroups.com> loial writes: > Is there a quick way to concatenate all the values in a list into a string, except the first value? > I want this to work with variable length lists. > All values in list will be strings. > Any help appreciated big_string = ', '.join(my_list[1:]) -- John Gordon Imagine what it must be like for a real medical doctor to gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'.