you can do "structured assignments" in python:

lat, lon = [float(x) for x in lat_lon.split(',')]