[Libreoffice-bugs] [Bug 129754] macOS built in Python can't import uno
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 9 08:20:32 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129754
Alex Thurgood <iplaw67 at tuta.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Alex Thurgood <iplaw67 at tuta.io> ---
>From a terminal, if I enter :
/Applications/LibreOffice.app/Contents/Resources/python
the interactive shell then allows me to
import uno
import os
i.e. I can import the modules that are pre-included in the LO-supplied version
of python.
In order to find out which modules have been included in this version:
help(modules) or just type :
help
then in the interactive help type :
modules
A list of the available modules you can access is displayed, for example :
help> modules
Please wait a moment while I gather a list of all available modules...
__future__ antigravity imaplib select
_ast argparse imghdr selectors
_bisect array imp setuptools
_bootlocale ast importlib shelve
_bz2 asynchat inspect shlex
_codecs asyncio io shutil
_codecs_cn asyncore ipaddress signal
_codecs_hk atexit itertools site
_codecs_iso2022 audioop json smtpd
_codecs_jp base64 keyword smtplib
_codecs_kr bdb lib2to3 sndhdr
_codecs_tw binascii linecache socket
_collections binhex locale socketserver
_collections_abc bisect logging sqlite3
_compat_pickle builtins lzma sre_compile
_compression bz2 macpath sre_constants
_crypt cProfile macurl2path sre_parse
_csv calendar mailbox ssl
_ctypes cgi mailcap stat
_ctypes_test cgitb mailmerge statistics
_curses chunk marshal string
_curses_panel cmath math stringprep
_datetime cmd mimetypes struct
_dbm code mmap subprocess
_decimal codecs modulefinder sunau
_dummy_thread codeop msgbox symbol
_elementtree collections multiprocessing symtable
_functools colorsys netrc sys
_hashlib compileall nis sysconfig
_heapq concurrent nntplib syslog
_imp configparser ntpath tabnanny
_io contextlib nturl2path tarfile
_json copy numbers telnetlib
_locale copyreg officehelper tempfile
_lsprof crypt opcode termios
_markupbase csv operator textwrap
_md5 ctypes optparse this
_multibytecodec curses os threading
_multiprocessing datetime parser time
_opcode dbm pathlib timeit
_operator decimal pdb tkinter
_osx_support difflib pickle token
_pickle dis pickletools tokenize
_posixsubprocess distutils pip trace
_pydecimal doctest pipes traceback
_pyio dummy_threading pkg_resources tracemalloc
_random easy_install pkgutil tty
_scproxy email platform turtle
_sha1 encodings plistlib turtledemo
_sha256 ensurepip poplib types
_sha512 enum posix typing
_signal errno posixpath unicodedata
_sitebuiltins faulthandler pprint unittest
_socket fcntl profile uno
_sqlite3 filecmp pstats unohelper
_sre fileinput pty urllib
_ssl fnmatch pwd uu
_stat formatter py_compile uuid
_string fractions pyclbr venv
_strptime ftplib pydoc warnings
_struct functools pydoc_data wave
_symtable gc pyexpat weakref
_sysconfigdata genericpath pythonloader webbrowser
_testbuffer getopt pythonscript wizards
_testcapi getpass pyuno wsgiref
_testimportmultiple gettext queue xdrlib
_testmultiphase glob quopri xml
_thread grp random xmlrpc
_threading_local gzip re xxlimited
_tracemalloc hashlib readline xxsubtype
_warnings heapq reprlib zipapp
_weakref hmac resource zipfile
_weakrefset html rlcompleter zipimport
abc http runpy zlib
aifc idlelib sched
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200109/4d6af3f4/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list