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

Python String To Escaped Hex

I have some python code below I managed to cobble together to achieve what I needed, but being quit… Read more Python String To Escaped Hex

Convert 2 Integers To Hex/byte Array?

I'm using a Python to transmit two integers (range 0...4095) via SPI. The package seems to expe… Read more Convert 2 Integers To Hex/byte Array?

Hex To Base64 Conversion In Python

I want to convert a simple HEX string such as 10000000000002ae to Base64. The hex string is to be c… Read more Hex To Base64 Conversion In 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

Hex String To Signed Int In Python 3.2?

How do I convert a hex string to a signed int in Python 3.2? The best I can come up with is h = … Read more Hex String To Signed Int In Python 3.2?

Python .readline()

First let me preface with I am new to python, no ego here. I have this code I cobbled together fro… Read more Python .readline()