def identify_delim(txt):
	"""
	identifies delimiters and returns a count by ROW
	in the text file as well as the delimiter value (if any)
	The delim is determined if the count of delims is consistant
	in all rows.
	"""
	possible_delims = _get_dict_char_count(txt)  # {'C': 3, 'a': 4, 'b': 5, 'c': 6, ',': 6, 'A': 3, '\n': 3, 'B': 3})

	delim = max(possible_delims.keys(), key=(lambda k: possible_delims[k]))

	"""
	count_by_row = []
	max_cols = 0
	max_rows = 0

	lines = txt.split('\n')
	for line in lines:
		if len(line) > max_cols:
			max_cols = len(line)
		this_count = _get_dict_char_count(line)
		count_by_row.append(this_count)
		print('line = ', line)
		print('count_by_row = ', this_count)
		max_rows += 1

	# make a matrix
	matrix = [[0 for i in range(max_rows)] for j in range(max_cols)]
	pprint.pprint(matrix)
	"""


	return delim
identifies delimiters and returns a count by ROW
	in the text file as well as the delimiter value (if any)
	The delim is determined if the count of delims is consistant
	in all rows.