def is_number (s) :
	""" Checks to see if the string is a number. """
	if '.' in s :
		try :
			n = float(s)
		except :
			return False
	else :
		try :
			n = int(s)
		except :
			return False
	return True