[ create a new paste ] login | about

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

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


Output:
1
2016-08-31


Create a new paste based on this one


Comments: