Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7851357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:09:31+00:00 2026-06-02T19:09:31+00:00

I have a LibreOffice spreadsheet (data.ods) containing approximately 500 rows of comma separated values

  • 0

I have a LibreOffice spreadsheet (data.ods) containing approximately 500 rows of comma separated values in 30 columns. The first row contains the column headers.

Data.ods is updated periodically throughout the day by a script. I then have several links to the cells in data.ods in another spreadsheet (main.ods).

I am currently doing the following:

1) Generate data.ods using a Python script.

2) Open data.ods so that LibreOffice does a Text Import of the comma separated values to populate the rows.

3) Open main.ods (which automatically updates the links).

I am not able to simply leave main.ods open currently because even after closing data.ods, it appears that LibreOffice still has some sort of lock on the file and does not allow my script to edit data.ods until I close LibreOffice altogether (requiring me to close main.ods).

I would like to to do the following:

1) Have main.ods open.

2) Generate data.ods via script.

3) Import updated values into main.ods using Edit…Links…Update Values.

4) Leave main.ods open.

5) Generate new data.ods via script.

6) Import updated values into main.ods using Edit…Links…Update Values.

7) Repeat as necessary.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:09:34+00:00Added an answer on June 2, 2026 at 7:09 pm

    As you may be aware there are ways of dealing with Open/Libre Offie through Python scripts. It even ships with a Python interpreter of its own.

    The problem is that the documentation on how to do it is terrible – but one of the capabilities is exactly to have an externally running Python script to gain access to a Document open on the interface (like a spreadsheet), and add values to it.

    It is slow, but it works fine – since you are talking about just a couple hundred rows, the speed won’t matter.

    Now, let me try to find the documentation for that and get you a link on where to get started:
    http://www.openoffice.org/udk/python/python-bridge.html#modes

    If you paste the example code in there in the Python interactive prompt (needs to be the Python installed along LibreOffice), you will be able to introspect the available methods and attributes with Python’s dir and find out the method calls to edit cell contents from a script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data in an Excel spreadsheet with values like this: 0.69491375 0.31220394 The
I have a LibreOffice 3 spreadsheet (on Ubuntu 11.04) with a column of hundreds
Have 2 tables for example: In 1st: object & parent columns object | parent
Let's say I have a Libreoffice.org Calc (maybe this goes for MS Excel too)
I'm contributing to LibreOffice and have started learning git. I've cloned the LibreOffice repository
Have a xml data like <Items><Item><name>test1</name></Item><Item><name>test2</name></Item></Items> Looks like jaxb cannot unmashall this when defining
My client is providing me with an XSLX spreadsheet that, in some columns, can
I have one field when importing that can contain large data, it seems that
Have data that has this kind of structure: $input = [ { animal: 'cat',
Have I understod the following right? font-family:sans-serif; Above will result in the default sans-serif

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.