diff --git a/source/text/sbasic/python/python_examples.xhp b/source/text/sbasic/python/python_examples.xhp index 085f9ddadb..067f239dfc 100644 --- a/source/text/sbasic/python/python_examples.xhp +++ b/source/text/sbasic/python/python_examples.xhp @@ -30,11 +30,10 @@ - --> + - diff --git a/source/text/sbasic/python/python_session.xhp b/source/text/sbasic/python/python_session.xhp index 5ee5c55f4e..d99bcdb38a 100644 --- a/source/text/sbasic/python/python_session.xhp +++ b/source/text/sbasic/python/python_session.xhp @@ -23,8 +23,8 @@ Session;UserScripts Session;UserPythonScripts -

Getting session information

- To compute %PRODUCTNAME user profile and shared modules system file paths can be performed with Python and with Basic language. BeanShell, Java, JavaScript and Python scripts locations can be derived from this information. +

Getting session information

+ Computing %PRODUCTNAME user profile and shared modules system file paths can be performed with Python or with Basic languages. BeanShell, Java, JavaScript and Python scripts locations can be derived from this information.

Examples:

With Python shell. >>> from <the_module> import Session @@ -48,7 +48,7 @@

With %PRODUCTNAME Basic.

Sub Session_example() - Dim s As New Session ' instance of Platform class + Dim s As New Session ' instance of Session class Print "Shared scripts location:", s.SharedScripts MsgBox s.UserName,,"Hello" Print s.UserScripts, Chr(13), s.UserPythonScripts