Lots of interesting code in precision farming application

Bernhard Herzog bh at intevation.de
Sat Nov 27 17:58:24 CET 2004


"Moritz Lennert" <mlennert at club.worldonline.be> writes:

> If noone else (with more experience) is planning on doing so, I am willing to
> try to extract the csv-import functions as a seperate extension.

If we add csv import, we should look at the various csv parsers already
written for Python.  Apart from the one in in Ole's code, there are a
few others:

 - cvs.py in the standard library Python 2.3 
   combination of C and Python

 - http://python-dsv.sourceforge.net/ 

   pure python, even has wxPython based import wizard

 - http://www.object-craft.com.au/projects/csv/ 
   written in C

There are probably others.  I haven't really looked at any of them.  I'd
probably prefer the one from the python standard library because that's
the one most likely to be maintained in the future.  TO avoid requiring
python 2.3 we could probably ship a copy with Thuban.

> If I have seen correctly this entails mostly removing the hard-coded
> Pirol csv format in order to allow more generic files.

The ones mentioned are probably more flexible than the PIROL one, though
I haven't really look at that one either yet.

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)