Projects : yrc : yrc_net_level_commands
1 | #!/usr/bin/python2 |
2 | import time |
3 | from sys import stdin, stdout |
4 | |
5 | try: |
6 | for line in stdin: |
7 | t, rest = line.split(' ', 1) |
8 | t = int(t)/100 |
9 | stdout.write(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(t)) + ' ' + rest) |
10 | except IOError: |
11 | pass |