[ create a new paste ] login | about

Link: http://codepad.org/BfT9cvrU    [ raw code | output | fork ]

Python, pasted on Sep 7:
1
2
3
fn = 'esta1seg0831a.txt'
estacion = "-".join(["2016", fn[8:10], fn[10:12] ])
print(estacion)


Output:
1
2016-08-31


Create a new paste based on this one


Comments: