Print each entry in hex and as string
This commit is contained in:
parent
a3a976908d
commit
c5660ab179
|
@ -29,4 +29,10 @@ for s in (
|
||||||
db.commit()
|
db.commit()
|
||||||
csr.execute("select * from t_pgcollate order by t")
|
csr.execute("select * from t_pgcollate order by t")
|
||||||
for r in csr:
|
for r in csr:
|
||||||
print(r)
|
for c in r[0]:
|
||||||
|
print(f"{ord(c):02x} ", end="")
|
||||||
|
print("- ", end="")
|
||||||
|
for c in r[0]:
|
||||||
|
print(c, end="")
|
||||||
|
print("")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue