def csv2list (s) :
	"""
	Takes a string of comma-separated values and returns a list of str's, int's, or float's.
	"""
	l = s.split(',')	# SPLIT CONTENTS OF STRING
	try :
		if '.' in s :	# PROBABLY CONTAINS float
			for i in range(len(l)) :
				l[i] = float(l[i])
		else :					# PROBABLY CONTAINS int
			for i in range(len(l)) :
				l[i] = int(l[i])
	except :					# OR GO BACK TO SIMPLE STRINGS
		l = s.split(',')
	return l