Translation

python_programming.xhp N0316 help.text
English B9zJW
Context English Portuguese
python_programming.xhp
N0275
help.text
Python UNO Python UNO
python_programming.xhp
N0276
help.text
Basic UNO features Funcionalidades UNO Basic
python_programming.xhp
N0284
help.text
See <link href="text/sbasic/python/python_dialogs.xhp" name="Opening a Dialog">Opening a Dialog</link> Veja <link href="text/sbasic/python/python_dialogs.xhp" name="Abrir uma caixa de diálogo">Abrir uma caixa de diálogo</link>
python_programming.xhp
N0286
help.text
See <link href="text/sbasic/python/python_listener.xhp" name="Creating a Listener">Creating a Listener</link> Veja <link href="text/sbasic/python/python_listener.xhp" name="Criar um ouvinte">Criar um ouvinte</link>
python_programming.xhp
N0288
help.text
See UNO data types Consultar tipos de dados UNO
python_programming.xhp
N0297
help.text
Importing an embedded Module Importar um módulo incorporado
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: A importação de um módulo incorporado do documento Python é ilustrada abaixo, a manipulação de exceção não é detalhada:
python_programming.xhp
N0303
help.text
""" load library and import module """ carregar biblioteca e importar módulo
python_programming.xhp
N0305
help.text
Adapted from 'Bibliothèque de fonctions' by Hubert Lambert Adaptado de 'Bibliothèque de fonctions' de Hubert Lambert
python_programming.xhp
N0306
help.text
at https://forum.openoffice.org/fr/forum/viewtopic.php?p=286213""" em https://forum.openoffice.org/fr/forum/viewtopic.php?p=286213"""
python_programming.xhp
N0307
help.text
doc = XSCRIPTCONTEXT.getDocument() # current document doc = XSCRIPTCONTEXT.getDocument() # document atual
python_programming.xhp
N0310
help.text
if not url in sys.path: # add path if necessary if not url in sys.path: # adicionar o caminho se necessário
python_programming.xhp
N0311
help.text
sys.path.insert(0, url) # doclib takes precedence sys.path.insert(0, url) # doclib tem precedência
python_programming.xhp
N0312
help.text
if module_name: # import if requested if module_name: # importar se for pedido
python_programming.xhp
N0316
help.text
ui = load_library("my_gui",'screen_io') # add <lib> path + import <module> ui = load_library("my_gui",'screen_io') # adicionar caminho de <lib> + importar <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> <link href="text/sbasic/shared/uno_objects.xhp" name="Página de objetos UNO">Objetos, funções e serviços BASIC UNO</link>
python_screen.xhp
tit
help.text
Python : Screen Input/Output O ficheiro de saída padrão do Python não está disponível ao executar macros do Python no menu <menuitem>Ferramentas - Macros - Executar macro</menuitem>. Consulte <emph>Entrada/Saída para ecrã</emph> para mais informações.
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
N0436
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. A extensão <link href="https://extensions.libreoffice.org/extensions/apso-alternative-script-organizer-for-python" name="apso">Alternative Python Script Organizer</link> (APSO) oferece a função msgbox() dentro do módulo <literal>apso_utils</literal>.
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. O %PRODUCTNAME Basic oferece as funções de E/S de ecrã <literal>InputBox()</literal>, <literal>Msgbox()</literal> e <literal>Print()</literal>. As alternativas Python existem a partir tanto do %PRODUCTNAME API Abstract Windowing Toolkit, quanto pelas chamadas para o BASIC do Python. Esta última oferece uma sintaxe intencionalmente similar ao BASIC, e utiliza um módulo Python junto com um módulo BASIC. Utiliza-se o API Scripting Framework para executar chamadas de função entre BASIC, BeanShell, JavaScript e Python.
python_screen.xhp
N0438
help.text
Python syntax: Sintaxe Python:
python_screen.xhp
N0442
help.text
Examples: Exemplos:
python_screen.xhp
N0449
help.text
Installation: Instalação:
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. Reinicie o %PRODUCTNAME
python_screen.xhp
N0453
help.text
<literal>screen_io</literal> Python module Módulo Python <literal>screen_io</literal>
python_screen.xhp
N0467
help.text
""" Displays a dialog box containing a message and returns a value.""" """ Exibe uma caixa de diálogo contendo uma mensagem e retorna um valor. """

Loading…

No matching activity found.
Browse all component changes

Things to check

Trailing space

Source and translation do not both end with a space

Fix string

Reset

Glossary

English Portuguese
Add Adicionar LibreOffice UI - master

String information

Context
python_programming.xhp
N0316
help.text
Source string description
B9zJW
Source string location
python_programming.xhp
String age
8 months ago
Source string age
8 months ago
Translation file
pt/helpcontent2/source/text/sbasic/python.po, string 320