summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/text/sbasic/python/python_programming.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/sbasic/python/python_programming.xhp b/source/text/sbasic/python/python_programming.xhp
index 71ba96cbc1..1a85936012 100644
--- a/source/text/sbasic/python/python_programming.xhp
+++ b/source/text/sbasic/python/python_programming.xhp
@@ -306,7 +306,7 @@
<paragraph role="paragraph" id="N1298">Similarly to %PRODUCTNAME Basic that supports browsing and dynamic loading of libraries, Python libraries can be explored and imported on demand. For more information on library containers, visit <link href="https://api.libreoffice.org/">%PRODUCTNAME Application Programming Interface</link> (API) or download <link href="https://www.libreoffice.org/download/download/">%PRODUCTNAME Software Development Kit</link> (SDK).</paragraph>
<paragraph role="paragraph" id="N3299">Importing a Python document embedded module is illustrated below, exception handling is not detailed:</paragraph>
<pycode>
- <paragraph role="pycode" localize="false" id="N1300">import uno, sys</paragraph>
+ <paragraph role="pycode" localize="false" id="N1300">import uno, sys, zipimport</paragraph>
<paragraph role="pycode" localize="false" id="N3301"></paragraph>
<paragraph role="pycode" localize="false" id="N0302">def load_library(library_name: str, module_name=None):</paragraph>
<paragraph role="pycode" id="N0303"> &quot;&quot;&quot; load library and import module</paragraph>