Translation

python_session.xhp N0356 help.text
English osmNG
Context English Latvian Actions
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
N0492
help.text
<literal>uiScripts</literal> Basic 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>
python_session.xhp
N0347
help.text
<literal>>>> print(Session().UserName) # object property</literal>
python_session.xhp
N0348
help.text
<literal>>>> input(Session().UserProfile) # object property</literal>
python_session.xhp
N0349
help.text
From <menuitem>Tools – Macros - Run Macro</menuitem>... menu.
python_session.xhp
N0354
help.text
ui.MsgBox(Session.Share(),title='Installation Share') # static method
python_session.xhp
N0355
help.text
ui.Print(Session.SharedPythonScripts()) # static method
python_session.xhp
N0356
help.text
s = Session() # instance creation
python_session.xhp
N0357
help.text
ui.MsgBox(s.UserName,title='Hello') # object property
python_session.xhp
N0358
help.text
ui.Print(s.UserPythonScripts) # object property
python_session.xhp
N0360
help.text
g_exportedScripts = (demo_session,) # public macros
python_session.xhp
N0361
help.text
With %PRODUCTNAME Basic. Ar %PRODUCTNAME Basic.
python_session.xhp
N0364
help.text
Print "Shared scripts location:", s.SharedScripts
python_session.xhp
N0365
help.text
MsgBox s.UserName,,"Hello"
python_session.xhp
N0368
help.text
Using COM/OLE and Visual Basic Scripting language.
python_session.xhp
N0369
help.text
' The service manager is always the entry point
python_session.xhp
N0370
help.text
' If there is no office running then an office is started up
python_session.xhp
N0372
help.text
' PathSubstitution service exhibits information to infer
python_session.xhp
N0373
help.text
' <UserProfile|Share>/Scripts/python locations from
python_session.xhp
N0381
help.text
Python Session class:
python_session.xhp
N0401
help.text
@property # alternative to '$(username)' variable
python_session.xhp
N0342
help.text
Unlike Basic, pathname normalization is performed with Python inside Session class.
python_session.xhp
N0412
help.text
%PRODUCTNAME Basic Session class:

Loading…

No matching activity found.
Browse all component changes

Glossary

English Latvian
No related strings found in the glossary.

String information

Context
python_session.xhp
N0356
help.text
Source string description
osmNG
Source string location
python_session.xhp
String age
3 years ago
Source string age
3 years ago
Translation file
lv/helpcontent2/source/text/sbasic/python.po, string 362