Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


On 2/20/25 4:04 PM, Valerio Messina wrote:
Il problema è superabile convertendo prima i CSV con 'csvtool' o simili.

I file che ho, usano i TAB come separatore di campo perché ci sono campi contenenti virgole. Devo capire se racchiudendoli tra "", tutto funziona lo stesso. Ci lavoro, ma credo di si.

purtroppo csvtool non esiste per Cygwin o MSYS2, per cui su Windows rimane solo WSL.

In ogni caso funziona bene questo (sempre Debian/WSL/Win10):

csvtool -t TAB cat ${rad}_pl.txt > ${rad}_pl.csv
/mnt/d/ProgramFiles/LibreOffice/program/scalc.exe --convert-to ods ${rad}_pl.csv
rm ${rad}_pl.txt ${rad}_pl.csv
/mnt/d/ProgramFiles/LibreOffice/program/scalc.exe ${rad}_pl.ods


Il problema è che ottengo comunque N file .ods, e non un solo file .ods con tanti fogli.

rimane questo problema dei due files, per cui i guardo il Python

--
Valerio

--
Come cancellarsi: E-mail users+unsubscribe@it.libreoffice.org
Problemi? https://it.libreoffice.org/supporto/mailing-lists/come-cancellarsi/
Linee guida per postare + altro: https://wiki.documentfoundation.org/Local_Mailing_Lists/it
Archivio della lista: https://listarchives.libreoffice.org/it/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.