Translation

python_session.xhp N0370 help.text
English BiCRF
Context English Latvian Actions
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:
python_session.xhp
N0417
help.text
Private _ps As Object ' Private member
python_session.xhp
N0422
help.text
End Sub ' Constructor
python_session.xhp
N0426
help.text
End Sub ' Destructor
python_session.xhp
N0439
help.text
Public Property Get UserName() As String ' User account name
python_session.xhp
N0443
help.text
Public Property Get UserProfile() As String ' User profile system path
python_session.xhp
N0447
help.text
Public Property Get UserScripts() As String ' User scripts system path
python_session.xhp
N0451
help.text
Public Property Get UserPythonScripts() As String ' User Python scripts system path
python_shell.xhp
tit
help.text
Python Interactive Shell
python_shell.xhp
N0117
help.text
<bookmark_value>Python console</bookmark_value> <bookmark_value>Python Interactive Shell</bookmark_value> <bookmark_value>Python;Shell</bookmark_value>

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
N0370
help.text
Source string description
BiCRF
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 377