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 (http://rubrica.berlios.de) 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.
http://library.gnome.org/devel/libgda/3.99/GdaDataModelImport.html

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
www.murrayc.com
www.openismus.com



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