Re: Parsing String, Dictionary Lookups, Writing to Database Table

2006-09-12 Thread Rich Shepard
On Mon, 11 Sep 2006, [EMAIL PROTECTED] wrote: > No, if you're going to insert into sqlite3, you don't want a csv string, > you want a list of values (see example code below). Thank you very much. It makes solid sense and I can see the differences and where I was not on track. I greatly appreci

Re: Parsing String, Dictionary Lookups, Writing to Database Table

2006-09-11 Thread [EMAIL PROTECTED]
Rich Shepard wrote: > I need to learn how to process a byte stream from a form reader where each > pair of bytes has meaning according to lookup dictionaries, then use the > values to build an array of rows inserted into a sqlite3 database table. > >Here's the context: The OMR card reader sends

Re: Parsing String, Dictionary Lookups, Writing to Database Table

2006-09-11 Thread George Sakkis
Rich Shepard wrote: >I know how I'd do all this in C, but since I'm learning python I have not > found how best to accomplish this despite the books and online references > I've read. Can you post one or more examples of expected input-output pairs ? From your description it's not really clea