Context English Inuktitut
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>
python_shell.xhp
N0118
help.text
<variable id="pythonshell1"><link href="text/sbasic/python/python_shell.xhp" name="python shell">Running Python Interactive Console</link></variable>
python_shell.xhp
N0119
help.text
The Python interactive console, also known as Python interpreter or Python shell, provides programmers with a quick way to execute commands and try out and test code without creating a file. UNO objects introspection as well as %PRODUCTNAME Python modules documentation can be obtained from the terminal.
python_shell.xhp
N0121
help.text
Using a Basic macro:
python_shell.xhp
N0127
help.text
Using a Python macro:
python_shell.xhp
N0141
help.text
Usage:
python_shell.xhp
N0142
help.text
<image src="media/helpimg/python/python_shell.png" id="N0143"><alt id="N0144">Python Interactive Console</alt></image>