[Numpy-discussion] extracting data from ODF files

Emmanuelle Gouillart emmanuelle.gouillart at normalesup.org
Tue Jan 5 16:23:08 EST 2010

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=',')



On Tue, Jan 05, 2010 at 10:14:54PM +0100, Manuel Wittchen wrote:
> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

More information about the NumPy-Discussion mailing list