Thanks for this code. I was using it to troubleshoot an fgdb and modified line 740 to get it to work in python 3
Replaced
print('Field %s : "%s"' % (fields[ifield].name, ''.join(x.encode('hex') for x in val)))
with
print('Field %s : "%s"' % (fields[ifield].name, ''.join(bytes.hex(val))))
Thanks for this code. I was using it to troubleshoot an fgdb and modified line 740 to get it to work in python 3
Replaced
print('Field %s : "%s"' % (fields[ifield].name, ''.join(x.encode('hex') for x in val)))
withprint('Field %s : "%s"' % (fields[ifield].name, ''.join(bytes.hex(val))))
https://github.com/rouault/dump_gdbtable/blob/ad881a4bc17f6e0c57538f8c16bed66a6254db26/dump_gdbtable.py#L740