On 7 Ago, 17:47, "Jerry Hill" <[EMAIL PROTECTED]> wrote:
> On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > I have to parse a file (that is a dbIII file) whose stucture look like
> > this:
> > |string|, |string|, |string that may contain commas inside|, 1, 2, 3, |
> > other string|
>
>
On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have to parse a file (that is a dbIII file) whose stucture look like
> this:
> |string|, |string|, |string that may contain commas inside|, 1, 2, 3, |
> other string|
The CSV module is probably the easiest way to go:
>>> data = "|string|
On Aug 7, 2:21 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello everybody, I'm new to python (...I work with cobol...)
>
> > I have to parse a file (that is a dbIII file) whose stucture look like
> > this:
> > |string|, |string|, |string that may contain commas insid
[EMAIL PROTECTED] wrote:
> Hello everybody, I'm new to python (...I work with cobol...)
>
> I have to parse a file (that is a dbIII file) whose stucture look like
> this:
> |string|, |string|, |string that may contain commas inside|, 1, 2, 3, |
> other string|
There are a number of relatively sim
On 7 Ago, 09:21, Steve Holden <[EMAIL PROTECTED]> wrote:
> That's not a standard dBaseIII data file though, correct? It looks more
> like something that was produced *from* a dBaseIII file.
yeap... unfortunately it is not...
> Good luck with your escape from COBOL!
i'm not escaping by now... A
[EMAIL PROTECTED] wrote:
> Hello everybody, I'm new to python (...I work with cobol...)
>
> I have to parse a file (that is a dbIII file) whose stucture look like
> this:
> |string|, |string|, |string that may contain commas inside|, 1, 2, 3, |
> other string|
>
> Is there anything in python that
Hello everybody, I'm new to python (...I work with cobol...)
I have to parse a file (that is a dbIII file) whose stucture look like
this:
|string|, |string|, |string that may contain commas inside|, 1, 2, 3, |
other string|
Is there anything in python that parses this stuff?
thanks a lot
korove