Translation

python_programming.xhp N0275 help.text
English 6Yct5
Context English Latvian Actions
python_programming.xhp
N0242
help.text
Genuine BASIC UNO facilities can be inferred using <literal>uno.py</literal> module. Use <link href="text/sbasic/python/python_shell.xhp" name="Python interactive shell">Python interactive shell</link> to get a complete module description using <literal>dir()</literal> and <literal>help()</literal> Python commands.
python_programming.xhp
N0244
help.text
Functions Funkcijas
python_programming.xhp
N0245
help.text
Description Apraksts
python_programming.xhp
N0246
help.text
Mapped in Basic as
python_programming.xhp
N0248
help.text
Returns an absolute file url from the given urls.
python_programming.xhp
N0251
help.text
Creates a UNO struct or exception given by typeName.
python_programming.xhp
N0254
help.text
Returns a system path. Atgriež sistēmas ceļu.
python_programming.xhp
N0257
help.text
Returns the class of a concrete UNO exception, struct, or interface.
python_programming.xhp
N0260
help.text
Returns the UNO component context used to initialize the Python runtime.
python_programming.xhp
N0264
help.text
Looks up the value of an IDL constant by giving its explicit name.
python_programming.xhp
N0265
help.text
See API constant groups
python_programming.xhp
N0267
help.text
Returns True, when obj is a class of a UNO interface.
python_programming.xhp
N0270
help.text
Returns a file URL for the given system path.
python_programming.xhp
N0272
help.text
<emph>LibreLogo</emph> and <emph>TableSample</emph> installation shared scripts use <literal>uno.py</literal> module.
python_programming.xhp
N0273
help.text
More Python-Basic samples
python_programming.xhp
N0275
help.text
Python UNO Python UNO
python_programming.xhp
N0276
help.text
Basic UNO features
python_programming.xhp
N0284
help.text
See <link href="text/sbasic/python/python_dialogs.xhp" name="Opening a Dialog">Opening a Dialog</link>
python_programming.xhp
N0286
help.text
See <link href="text/sbasic/python/python_listener.xhp" name="Creating a Listener">Creating a Listener</link>
python_programming.xhp
N0288
help.text
See UNO data types
python_programming.xhp
N0297
help.text
Importing an embedded Module Iegulta moduļa importēšana
python_programming.xhp
N0298
help.text
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/" name="API Documentation site">%PRODUCTNAME Application Programming Interface</link> (API) or download <link href="https://www.libreoffice.org/download/download/" name="SDK download page">%PRODUCTNAME Software Development Kit</link> (SDK).
python_programming.xhp
N0299
help.text
Importing a Python document embedded module is illustrated below, exception handling is not detailed:
python_programming.xhp
N0303
help.text
""" load library and import module
python_programming.xhp
N0305
help.text
Adapted from 'Bibliothèque de fonctions' by Hubert Lambert
python_programming.xhp
N0306
help.text
at https://forum.openoffice.org/fr/forum/viewtopic.php?p=286213"""
python_programming.xhp
N0307
help.text
doc = XSCRIPTCONTEXT.getDocument() # current document
python_programming.xhp
N0310
help.text
if not url in sys.path: # add path if necessary
python_programming.xhp
N0311
help.text
sys.path.insert(0, url) # doclib takes precedence
python_programming.xhp
N0312
help.text
if module_name: # import if requested
python_programming.xhp
N0316
help.text
ui = load_library("my_gui",'screen_io') # add <lib> path + import <module>

Loading…

No matching activity found.
Browse all component changes

Things to check

Unchanged translation

Source and translation are identical

Reset

Glossary

English Latvian
No related strings found in the glossary.

String information

Context
python_programming.xhp
N0275
help.text
Source string description
6Yct5
Source string location
python_programming.xhp
String age
2 years ago
Source string age
2 years ago
Translation file
lv/helpcontent2/source/text/sbasic/python.po, string 316