On Aug 4, 12:14 pm, elsa wrote:
> So, an individual entry might have this form (in printed form):
>
> Title date position data
>
> with each field separated by tabs, and a newline at the end of data.
As James posted, the csv module is ideal for this sort of thing.
Dealing with delimited te
On Aug 4, 12:49 pm, Tim Chase wrote:
> On 08/03/10 21:14, elsa wrote:
>
>
>
> > I have a large file of text I need to parse. Individual 'entries' are
> > separated by newline characters, while fields within each entry are
> > separated by tab characters.
>
> > So, an individual entry might have th
elsa wrote:
Hi,
I have a large file of text I need to parse. Individual 'entries' are
separated by newline characters, while fields within each entry are
separated by tab characters.
So, an individual entry might have this form (in printed form):
Titledate position data
with each fiel
On 08/03/10 21:14, elsa wrote:
I have a large file of text I need to parse. Individual 'entries' are
separated by newline characters, while fields within each entry are
separated by tab characters.
So, an individual entry might have this form (in printed form):
Titledate position data
On Wed, Aug 4, 2010 at 12:14 PM, elsa wrote:
> I have a large file of text I need to parse. Individual 'entries' are
> separated by newline characters, while fields within each entry are
> separated by tab characters.
Sounds to me like a job of the csv module.
cheers
James
--
-- James Mills
--
Hi,
I have a large file of text I need to parse. Individual 'entries' are
separated by newline characters, while fields within each entry are
separated by tab characters.
So, an individual entry might have this form (in printed form):
Titledate position data
with each field separated by