Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- r = open('a.bin', 'r');
- w = open('b.bin', 'w');
- while True:
- str = r.read(9)
- if not str:
- break;
- w.write(str.replace(' ', '', 2));
- r.close();
- w.close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement