2 ms·
People do need to be taught this. I inherited a script from a co-worker who had left. My team leader had gone over it and commented it for me. # open file
by collyw 9y ago
People do need to be taught this. I inherited a script from a co-worker who had left. My team leader had gone over it and commented it for me.
# open file
with open(my_file, "rb") as binary_file:
binary_file.seek(8)
No mention of what was at byte 8, or what the hell it was doing, but he commented the only obvious part of the code.