diff --git a/source/text/sbasic/python/python_platform.xhp b/source/text/sbasic/python/python_platform.xhp index d2b0d80e11..4e1a7da743 100644 --- a/source/text/sbasic/python/python_platform.xhp +++ b/source/text/sbasic/python/python_platform.xhp @@ -26,7 +26,6 @@

Identifying the operating system

Identifying the operating system can be performed with Python or Basic language. - ComputerName property is solely available for Windows. Basic calls to Python macros help overcome %PRODUCTNAME Basic limitations.

Using a Python class:

""" the_module """ @@ -50,7 +49,8 @@

Using a Basic classmodule:

%PRODUCTNAME Basic lacks MacOS X native recognition. Platform identification is possible using %PRODUCTNAME Application Programming Interface (API). - Option Compatible + ''' Module name: Platform ''' + Option Compatible Option ClassModule Option Explicit @@ -92,6 +92,7 @@ End Select End Property ' Platform.PathDelimiter + ComputerName environment variable is solely available for Windows. Basic calls to Python macros help overcome %PRODUCTNAME Basic limitations.

Examples:

With Python >>> from < the_module > import Platform