Re: csv (comma separated value) file

On Tue, 2009-08-04 at 11:49 +0200, Nicola Fragale wrote:
> Il 04/08/2009 08:59, Andrea Zagli ha scritto:
> > Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto:
> >> i didn't find nothing about to manage (read/write) csv files with glib
> >>
> >> do you know about something that i didn't find?
> >>
> >> otherwise i might develop it
> >
> > i found that libgda have a csv parser [1]
> >
> > i'll try in the next few days
> libral, the rubrica's engine ( has a csv parser.
> It is implemented as a gobject class, loaded at runtime as needed, by
> libral.

There's also a GdaDataModel for this: GdaDataModelImport. Even if you
aren't using any database ideas, I guess you could use that API to get
the data and iterate over it.

I don't use it in Glom just because it doesn't do progressive reading -
it reads all the data at once.

murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]