f.tell(offset, os.SEEK_CUR) over f.tell(offset, 1)
https://docs.python.org/3/library/os.html#os.SEEK_CUR
I wish the docs on f.tell at least mentioned the option
https://docs.python.org/3/tutorial/inputoutput.html#methods-...
https://docs.python.org/3/library/os.html#os.SEEK_CUR
I wish the docs on f.tell at least mentioned the option
https://docs.python.org/3/tutorial/inputoutput.html#methods-...
And, moreover, this will inspire me to ask "How many other traditional magic numbers/strings/etc have I gotten used to that might be defined more readably?" strcmp, I'm looking at you!
I know your post was sarcastic/snarky but it was genuinely helpful