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
#1
Question 
I'm a new Linux user, used to use autohotkey in windows to do this. Have installed autokey in linux and tried several ways of getting this to work using python script but getting different errors.
I want to be able to open several different libre office files (Calc and Writer) in libre office with one 'click' (task I do monthly, files are (and need to be) in different folders).
I can't even get one file to open!

open(/media/lw/8CEEXXXXAB2/1Asafedocs/PXXXXX/AXXXXX/wXXXX/WXXINUSE/TXXXXX.ods)
I have changed one folder name to remove the spaces as the 'in' was showing up as a command.
I have tried using just the open (path) command, I've also tried import os, before open (path). And Import OS, OS.open(path). Looking at the tutorials etc they all use it to open .txt or .cvs files.
I should say that I dual boot Linux and Windows and these folders are on a shared 'data' partition
So can I do this python? Am I missing out a step before I try to open the files?
Thanks for any help!
Reply


Messages In This Thread
(solved) open multiple libre office files in libre office - by lucky67 - May-29-2021, 12:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Loop through directories and files one level down? Winfried 3 246 Apr-28-2024, 02:31 PM
Last Post: Gribouillis
Question Right way to open files with different encodings? Winfried 2 283 Apr-23-2024, 05:50 PM
Last Post: snippsat
  Open files in an existing window instead of new Kostov 2 362 Apr-13-2024, 07:22 AM
Last Post: Kostov
  Using a script to open multiple shells? SuchUmami 9 618 Apr-01-2024, 10:04 AM
Last Post: Gribouillis
  python convert multiple files to multiple lists MCL169 6 1,621 Nov-25-2023, 05:31 AM
Last Post: Iqratech
  open python files in other drive akbarza 1 735 Aug-24-2023, 01:23 PM
Last Post: deanhystad
  splitting file into multiple files by searching for string AlphaInc 2 926 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
Question [solved] compressing files with python. SpongeB0B 1 677 May-26-2023, 03:33 PM
Last Post: SpongeB0B
  Help replacing word in Mutiple files. (SOLVED) mm309d 0 860 Mar-21-2023, 03:43 AM
Last Post: mm309d
  Merging multiple csv files with same X,Y,Z in each Auz_Pete 3 1,219 Feb-21-2023, 04:21 AM
Last Post: Auz_Pete

Forum Jump:

User Panel Messages

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