+ 2

it's not working

https://code.sololearn.com/ciYu1mKhg3Pm/#py it writes: b'this had been...'

18th May 2017, 12:14 PM
Hysji
4 Answers
+ 4
I must be late to the party. The linked program works fine. Congratulations on getting the bugs out!
19th May 2017, 2:48 AM
Jim
Jim - avatar
+ 4
I take it you're trying to translate back from the binary read into the original text? Have you compared the numbers you're getting to the integer representation of the characters? If those match, then you're almost done. Another line of approach is to look into the details of the text vs binary file access, there might be a subtlety in there that you need to account for.
19th May 2017, 12:26 PM
Jim
Jim - avatar
+ 1
it's not working for me... it writes: (b'this',) https://code.sololearn.com/ciYu1mKhg3Pm/#py
19th May 2017, 8:38 AM
Hysji
19th May 2017, 8:44 AM
Hysji