On 2007-06-13, supercooper <[EMAIL PROTECTED]> wrote: > I have this string that is being returned from a query on a DBISAM > database. The field must be some sort of blob, and when I connect to > the database thru ODBC in MS Access, the field type comes thru as OLE > Object, and Access cannot read the field (it usually crashes Access). > I can sorta pick out the data that I need (7.0, 28, 5TH PRINCIPAL MRD, > 10.0 - and these occur in roughly the same place in every record > returned from the db), but I am wondering if there is a way to convert > this. I looked at the struct module, but I really dont know the format > of the data for sure. For starters, could someone tell me what '\x00' > more than likely is?
It's a byte where all 8 bits are zeros. Your data probably has fixed field widths, and unused bytes are just zero-filled. -- Grant Edwards grante Yow! How's the wife? at Is she at home enjoying visi.com capitalism? -- http://mail.python.org/mailman/listinfo/python-list