Moved old bin2xdevcfg to revbin
[reconos.git] / tools / python / reverse_byte_order.py
blob8140aa254bd017474dd331003c7d68ece905362c
1 import sys
3 f = open(sys.argv[1], "r")
5 while True:
6 word = f.read(4)
8 if not word: break
10 sys.stdout.write(word[::-1])