![]() Interpreter version included in LibreOffice. $ hg clone Python 3.3 case, need singledispatch package. ![]() Install unotools from PyPI: (tmp3 )$ pip install unotools On Mac OS Xĭownload LibreOffice DMG package from and Type "help", "copyright", "credits" or "license" for more information. $ mkvirtualenv -p /usr/bin/python3.4 -system-site-packages tmp3Ĭonfirm importing uno module: (tmp3 )$ python I like virtualenvwrapper to make temporary environment: $ sudo aptitude install -y virtualenvwrapper Install libreoffice, uno library and python3: $ sudo aptitude install -y libreoffice libreoffice-script-provider-python uno-libs3 python3-uno python3 The unotools is quite simple, but you ought to understand UNO APIs. Using the original UNO/PyUNO for scripting. ![]() The aim is to make handling OpenDocument easy than Resolver = (".UnoUrlResolver")ĬreateUnoService = allows you to interact with /LibreOffice using ………………… #here the second cell for conecting to LO Pipe = f"-accept=pipe,name= urp StarOffice.ComponentContext" Personally I prefer to work interactive and with a running Libreoffice-instance … as already written interactive from jupyter notebook Session →→ the initial setup in notebook: ……………………… # in the first notbook-cell this is for running LO-calc ods-files without a running Libreoffice-Instance? → search for “ods” on pypi-package-index it seems pyexcel-ods3 or pandas-ods-reader looks straight-forward!
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |