In Python, I can do:
>>> list = [\'a\', \'b\', \'c\'] >>> \', \'.join(list) \'a, b, c\'
Is there any easy way to do the s
You could use a list comprehension or a generator expression instead:
', '.join([str(x) for x in list]) # list comprehension ', '.join(str(x) for x in list) # generator expression