diff --git a/source/text/sbasic/guide/basic_2_python.xhp b/source/text/sbasic/guide/basic_2_python.xhp
index 6badf718a7..4ea2d89f4e 100644
--- a/source/text/sbasic/guide/basic_2_python.xhp
+++ b/source/text/sbasic/guide/basic_2_python.xhp
@@ -60,10 +60,10 @@
Executing Python Scripts
Syntax
- workstation_name = script.invoke(Array(), Array(), Array())
+ workstation_name = script.invoke(Array(), Array(), Array())
opSysName = script.invoke(Array(), in_outs, Array()) ' in_out is an Array
- file_len = script.invoke(Array(systemFilePath), Array(), Array())
- normalizedPath = script.invoke(Array(systemFilePath), Array(), Array())
+ file_len = script.invoke(Array(systemFilePath), Array(), Array())
+ normalizedPath = script.invoke(Array(systemFilePath), Array(), Array())
Embedded Scripts Examples
Below ComputerName, and GetFilelen routines are calling their Python counterparts, using aforementioned GetPythonScript function. Exception handling is not detailed.
@@ -102,7 +102,7 @@
Two different Python modules are called. They can either be embedded in the current document, either be stored on the file system. Argument type checking is skipped for clarity:
- Platform.py
+ Platform.py
# -*- coding: utf-8 -*-
@@ -117,7 +117,7 @@
return platform.system()
- Os/Path.py
+ Os/Path.py
# -*- coding: utf-8 -*-
@@ -146,7 +146,7 @@
End Property ' OSName
Private Sub HelloWorld()
- '''LibreOffice Python shared sample'''
+ '''%PRODUCTNAME Python shared sample'''
scr = GetPythonScript("HelloWorld.py$HelloWorldPython", Script.ISSHARED)
scr.invoke(Array(), Array(), Array(),)
End Sub ' HelloWorld