moreati
public python v1 · immutable##################################The file has the following formatname:float1:float2:float3##################################def read_file (f): for line in f: yield line.split(":")print list(read_file(open('sample_file.txt')))