MacOS에 LibreOffice Python을 설치하는 방법

MacOS에 LibreOffice Python을 설치하는 방법

UNO API를 사용하여 Python을 사용하여 LibreOffice 문서를 조작하고 싶습니다. MACOS(OS X)에 LibreOffice 6.3.4.2와 Python 3.7이 있습니다.

LO와 함께 제공되는 Python에서 UNO를 사용할 수 있다는 문서를 다음에서 찾았습니다.

  • /Applications/LibreOffice.app/Contents/MacOS/python

MACOS의 6.3.4.2에서는 그렇지 않습니다.

알겠어요:

  • apt-get 설치 libreoffice-script-provider-python

MACOS에서는 그렇지 않습니다.

그러면 MACOS의 Python 3.7에서 UNO를 사용할 수 있게 하려면 어떻게 해야 합니까?

답변1

한숨을 쉬다. 그것을 발견. LibreOffice가 다음으로 옮겼습니다.

  • /Applications/LibreOffice.app/Contents/Resources/python

관련 정보