Ausgabe der neuen DB Einträge
This commit is contained in:
parent
bad48e1627
commit
cfbbb9ee3d
2399 changed files with 843193 additions and 43 deletions
13
venv/lib/python3.9/site-packages/pymysql/util.py
Normal file
13
venv/lib/python3.9/site-packages/pymysql/util.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import struct
|
||||
|
||||
|
||||
def byte2int(b):
|
||||
if isinstance(b, int):
|
||||
return b
|
||||
else:
|
||||
return struct.unpack("!B", b)[0]
|
||||
|
||||
|
||||
def int2byte(i):
|
||||
return struct.pack("!B", i)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue