All pastes #759350 Raw Edit

moreati

public python v1 · immutable
·published 2007-11-03 01:40 UTC
rendered paste body
##################################The file has the following formatname:float1:float2:float3##################################def read_file (f):    result = []    for line in f:        result += line.split(":")    return resultprint read_file(open('sample_file.txt')):