I want to accept user input from the command line using the input() function, and I am expecting that the user provides input like x41x42x43 to input “ABC”. The user MUST enter input in the byte format, they can not provide the alphanumeric equivalent. My issue is that when I take in user input, and then print it out, I
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