Skip to content Skip to sidebar Skip to footer
Showing posts with the label Hex

Reorder Byte Order In Hex String (python)

I want to build a small formatter in python giving me back the numeric values embedded in lines of … Read more Reorder Byte Order In Hex String (python)

Python - Reading Blob Type From Sqlite3 Db

This is a follow on from: Python - Converting Hex to INT/CHAR I now have a working solution for con… Read more Python - Reading Blob Type From Sqlite3 Db

Typeerror: String Argument Expected, Got 'bytes'

I would like to convert the below hex sequences to images, in the process of sifting through quite … Read more Typeerror: String Argument Expected, Got 'bytes'

How To Convert A Hex String To Hex Number

I want to convert a hex string (ex: 0xAD4) to hex number, then to add 0x200 to that number and agai… Read more How To Convert A Hex String To Hex Number

How Can I Send Anything Other Than Strings Through Python Sock.send()

I'm very very new to programming in Python, but out of necessity I had to hack something togeth… Read more How Can I Send Anything Other Than Strings Through Python Sock.send()

Correct Interpretation Of Hex Byte, Convert It To Float

I am currently trying to connect to an electric meter via RS485. It works quite well so far, except… Read more Correct Interpretation Of Hex Byte, Convert It To Float