From 0ae4510ed1ad0cdaf9ec52ff6bd4423c436dceae Mon Sep 17 00:00:00 2001 From: Alain Romedenne Date: Thu, 8 Dec 2022 14:07:59 +0000 Subject: Fix to python script sample Change-Id: I9e79c85aecde08225212fd7985d32bd55a5f7bf1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143724 Tested-by: Jenkins Reviewed-by: Alain Romedenne --- source/text/sbasic/python/python_programming.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/text') 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 @@ 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 %PRODUCTNAME Application Programming Interface (API) or download %PRODUCTNAME Software Development Kit (SDK). Importing a Python document embedded module is illustrated below, exception handling is not detailed: - import uno, sys + import uno, sys, zipimport def load_library(library_name: str, module_name=None): """ load library and import module -- cgit