def _take_items_from_list_and_put_them_into_string(self, list): string = '' for element in list: string += element + ',' if len(string) > 0 and string[-1] == ',': string = string[0:-1] return string