Code like this: ",".join(nodes_list[:num_nodes]) Objects, strings (finally sane in 3.0), lists, list slices...
[/python] permanent link