Hi, I was wondering if there was a way to read lines backwards in Python?
I have a program that outputs data in plain txt format as:
NO,Temp,Time
1,-12,63,2014-01-29 23:00:50
2,-12,63,2014-01-29 23:01:49
3,-12,63,2014-01-29 23:02:49
And it would be easier to read the lines backwards to change the date order (D/M/Y) as the character length from the
end of the line is equal until the line number with following comma.
Or are there any simple way to: ditch the line number with following comma, replace the comma "," between -12,63 with "." and
then change the Y-M-D to D.M.Y?`
Thanks for any help =).