in reply to Converting integer to bytes

Thank you to everyone. My false thinking here was that unpack is a thing you use to convert strings into bytes because that's what I see it used for a lot, instead of thinking of it and pack more generically as "things you use to convert to and from lists and formats", thus I didn't think to look at pack.