Python Forum
(solved) open multiple libre office files in libre office
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(solved) open multiple libre office files in libre office
#2
Yes, you can use python to do this. Here is the basic script for you to modify to fit your needs. If you would like for it to be called from a desktop icon, look into .desktop files.

import subprocess

subprocess.Popen (['libreoffice', './calc/test1.xlsx'])
subprocess.Popen (['libreoffice', './docs/test2.docx'])
Reply


Messages In This Thread
RE: absolute beginner - can I use python to do this? - by BashBedlam - May-29-2021, 01:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to generating multiple json files using python script dzgn989 4 285 May-10-2024, 03:09 PM
Last Post: deanhystad
  [SOLVED] Loop through directories and files one level down? Winfried 3 344 Apr-28-2024, 02:31 PM
Last Post: Gribouillis
Question Right way to open files with different encodings? Winfried 2 372 Apr-23-2024, 05:50 PM
Last Post: snippsat
  Open files in an existing window instead of new Kostov 2 414 Apr-13-2024, 07:22 AM
Last Post: Kostov
  Using a script to open multiple shells? SuchUmami 9 698 Apr-01-2024, 10:04 AM
Last Post: Gribouillis
  python convert multiple files to multiple lists MCL169 6 1,696 Nov-25-2023, 05:31 AM
Last Post: Iqratech
  open python files in other drive akbarza 1 769 Aug-24-2023, 01:23 PM
Last Post: deanhystad
  splitting file into multiple files by searching for string AlphaInc 2 992 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
Question [solved] compressing files with python. SpongeB0B 1 709 May-26-2023, 03:33 PM
Last Post: SpongeB0B
  Help replacing word in Mutiple files. (SOLVED) mm309d 0 892 Mar-21-2023, 03:43 AM
Last Post: mm309d

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020