Re: [Numpy-discussion] extracting data from ODF files

2010-01-06 Thread Fabricio Silva
Le mardi 05 janvier 2010 à 22:34 -0800, Christopher Barker a écrit : > Nadav Horesh wrote: > > is there a (simple) solution to extract data from OpenDocument files > > (espacially OpenOffice.org Calc files) into a Numpy Array? > > Aren't they XML? you may be able to use an XML parser. See, e.g.,

Re: [Numpy-discussion] extracting data from ODF files

2010-01-05 Thread Christopher Barker
Nadav Horesh wrote: > is there a (simple) solution to extract data from OpenDocument files > (espacially OpenOffice.org Calc files) into a Numpy Array? Aren't they XML? you may be able to use an XML parser. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/

Re: [Numpy-discussion] extracting data from ODF files

2010-01-05 Thread Nadav Horesh
] extracting data from ODF files Hi, is there a (simple) solution to extract data from OpenDocument files (espacially OpenOffice.org Calc files) into a Numpy Array? At the moment I copy the colums from OO.org Calc manually into a tab-separatet Plaintext file which is quite annoying. Regards

Re: [Numpy-discussion] extracting data from ODF files

2010-01-05 Thread Emmanuelle Gouillart
Hi Manuel, you may save your odf file as a csv (comma separated value) file with OpenOffice, then use np.loadtxt, specifying the 'delimiter' keyword: myarray = np.loadtxt('myfile.csv', delimiter=',') Cheers, Emmanuelle On Tue, Jan 05, 2010 at 10:14:54PM +0100, Manuel Wittchen wrote: > Hi, > i

[Numpy-discussion] extracting data from ODF files

2010-01-05 Thread Manuel Wittchen
Hi, is there a (simple) solution to extract data from OpenDocument files (espacially OpenOffice.org Calc files) into a Numpy Array? At the moment I copy the colums from OO.org Calc manually into a tab-separatet Plaintext file which is quite annoying. Regards, Manuel Wittchen _