1 2 3
fn = 'esta1seg0831a.txt' estacion = "-".join(["2016", fn[8:10], fn[10:12] ]) print(estacion)
1
2016-08-31