Skip to content
Advertisement

Tag: bytestream

What is the opposite of fromtimestamp()?

I’m trying to figure out how to import a binary file into python, but it’s a lot of guesswork and trial and error. What I’d like to do in this case to is find where a specific date occurs in the bytestream, i.e: Is there a function (or set of functions) that can convert a date into a bytestream? Answer

Advertisement