Translation

python_screen.xhp N0451 help.text
English bckjW
Context English Latvian Actions
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>
python_programming.xhp
N0321
help.text
<link href="text/sbasic/shared/uno_objects.xhp" name="UNO objects page">Basic UNO Objects, Functions and Services</link>
python_screen.xhp
tit
help.text
Python : Screen Input/Output Python : Ekrāna ievade/izvade
python_screen.xhp
N0433
help.text
<bookmark_value>Python;InputBox</bookmark_value> <bookmark_value>Python;MsgBox</bookmark_value> <bookmark_value>Python;Print</bookmark_value> <bookmark_value>API;script.provider.MasterScriptProvider: Screen Input/Output</bookmark_value> <bookmark_value>API;script.provider.XScript: Screen Input/Output</bookmark_value>
python_screen.xhp
N0434
help.text
<variable id="ioscreen"><link href="text/sbasic/python/python_screen.xhp" name="IO to screen">Input/Output to Screen</link></variable>
python_screen.xhp
N0435
help.text
Python standard output file is not available when running Python macros from <menuitem>Tools – Macros - Run Macro</menuitem>... menu. Presenting the output of a module requires the Python interactive console. Features such as <literal>input()</literal>, <literal>print()</literal>, <literal>repr()</literal> and <literal>str()</literal> are available from the Python shell.
python_screen.xhp
msgbox_tip
help.text
%PRODUCTNAME <literal>msgbox</literal> Python module proposes a <literal>msgbox()</literal> method that is illustrated in <link href="text/sbasic/python/python_handler.xhp" name="msgbox example">Creating Event Listeners</link> and <link href="text/sbasic/python/python_handler.xhp" name="msgbox_example">Creating a dialog handler</link> example pages.
python_screen.xhp
N0437
help.text
%PRODUCTNAME Basic proposes <literal>InputBox()</literal>, <literal>Msgbox()</literal> and <literal>Print()</literal> screen I/O functions. Python alternatives exist relying either on %PRODUCTNAME API Abstract Windowing Toolkit, either on Python to Basic function calls. The latter proposes a syntax that is intentionally close to that of Basic, and uses a Python module next to a Basic module. The API Scripting Framework is used to perform Basic, BeanShell, JavaScript and Python inter-languages function calls.
python_screen.xhp
N0438
help.text
Python syntax: Python sintakse:
python_screen.xhp
N0442
help.text
Examples: Piemēri:
python_screen.xhp
N0449
help.text
Installation:
python_screen.xhp
N0450
help.text
Copy <literal>screen_io</literal> Python module in <link href="text/sbasic/python/python_locations.xhp" name="User macros">My macros</link> within <UserProfile>/Scripts/python/pythonpath,
python_screen.xhp
N0451
help.text
Copy <literal>uiScripts</literal> Basic module in <link href="text/sbasic/python/python_locations.xhp" name="User macros">My macros</link> Standard Basic library,
python_screen.xhp
N0452
help.text
Restart %PRODUCTNAME. Pārstartēt %PRODUCTNAME.
python_screen.xhp
N0453
help.text
<literal>screen_io</literal> Python module
python_screen.xhp
N0467
help.text
""" Displays a dialog box containing a message and returns a value."""
python_screen.xhp
N0473
help.text
""" Displays a prompt in a dialog box at which the user can enter text."""
python_screen.xhp
N0479
help.text
"""Outputs the specified strings or numeric expressions in a dialog box."""
python_screen.xhp
par_id161655364816553
help.text
<literal>MsgBox</literal> and <literal>InputBox</literal> methods from the <link href="text/sbasic/shared/03/sf_basic.xhp" name="Basic service">Basic service</link> included in <link href="text/sbasic/shared/03/lib_ScriptForge.xhp" name="scriptforge module"> the ScriptForge libraries</link> call directly their native Basic counterparts.
python_screen.xhp
N0492
help.text
<literal>uiScripts</literal> Basic module
python_screen.xhp
tip_APSO
help.text
The <link href="https://extensions.libreoffice.org/extensions/apso-alternative-script-organizer-for-python" name="apso">Alternative Python Script Organizer</link> (APSO) extension offers a msgbox() function out of its <literal>apso_utils</literal> module.
python_session.xhp
tit
help.text
Python_Session : Session class
python_session.xhp
N0339
help.text
<bookmark_value>Session;UserName</bookmark_value> <bookmark_value>Session;SharedScripts</bookmark_value> <bookmark_value>Session;SharedPythonScripts</bookmark_value> <bookmark_value>Session;UserProfile</bookmark_value> <bookmark_value>Session;UserScripts</bookmark_value> <bookmark_value>Session;UserPythonScripts</bookmark_value> <bookmark_value>API;PathSubstitution</bookmark_value>
python_session.xhp
N0340
help.text
<variable id="pythonsession"><link href="text/sbasic/python/python_session.xhp" name="session01">Getting Session Information</link></variable>
python_session.xhp
N0341
help.text
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.
python_session.xhp
N0343
help.text
Examples: Piemēri:
python_session.xhp
N0344
help.text
With Python shell. Ar Python čaulu.
python_session.xhp
N0346
help.text
<literal>>>> print(Session.SharedPythonScripts()) # static method</literal>

Loading…

No matching activity found.
Browse all component changes

Glossary

English Latvian
No related strings found in the glossary.

String information

Context
python_screen.xhp
N0451
help.text
Source string description
bckjW
Source string location
python_screen.xhp
String age
3 years ago
Source string age
3 years ago
Translation file
lv/helpcontent2/source/text/sbasic/python.po, string 347