GitHub Viewer
# Copyright (C) 2001-2020, Python Software Foundation
# This file is distributed under the same license as the Python package.
# Maintained by the python-doc-es workteam.
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
"PO-Revision-Date: 2020-05-08 12:05-0300\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Last-Translator: Marco Richetta \n"
"Language: es\n"
"X-Generator: Poedit 2.3\n"
#: ../Doc/tutorial/stdlib2.rst:5
msgid "Brief Tour of the Standard Library --- Part II"
msgstr "Pequeño paseo por la Biblioteca Estándar--- Parte II"
#: ../Doc/tutorial/stdlib2.rst:7
msgid ""
"This second tour covers more advanced modules that support professional "
"programming needs. These modules rarely occur in small scripts."
msgstr ""
"Este segundo paseo cubre módulos más avanzados que facilitan necesidades de "
"programación complejas. Estos módulos raramente se usan en scripts cortos."
#: ../Doc/tutorial/stdlib2.rst:14
msgid "Output Formatting"
msgstr "Formato de salida"
#: ../Doc/tutorial/stdlib2.rst:16
msgid ""
"The :mod:`reprlib` module provides a version of :func:`repr` customized for "
"abbreviated displays of large or deeply nested containers::"
msgstr ""
"El módulo :mod:`reprlib` provee una versión de :func:`repr` ajustada para "
"mostrar contenedores grandes o profundamente anidados, en forma abreviada:"
#: ../Doc/tutorial/stdlib2.rst:23
msgid ""
"The :mod:`pprint` module offers more sophisticated control over printing "
"both built-in and user defined objects in a way that is readable by the "
"interpreter. When the result is longer than one line, the \"pretty printer\" "
"adds line breaks and indentation to more clearly reveal data structure::"
msgstr ""
"El módulo :mod:`pprint` ofrece un control más sofisticado de la forma en que "
"se imprimen tanto los objetos predefinidos como los objetos definidos por el "
"usuario, de manera que sean legibles por el intérprete. Cuando el resultado "
"ocupa más de una línea, el generador de \"impresiones lindas\" agrega saltos "
"de línea y sangrías para mostrar la estructura de los datos más claramente::"
#: ../Doc/tutorial/stdlib2.rst:39
msgid ""
"The :mod:`textwrap` module formats paragraphs of text to fit a given screen "
"width::"
msgstr ""
"El módulo :mod:`textwrap` formatea párrafos de texto para que quepan dentro "
"de cierto ancho de pantalla::"
#: ../Doc/tutorial/stdlib2.rst:53
msgid ""
"The :mod:`locale` module accesses a database of culture specific data "
"formats. The grouping attribute of locale's format function provides a "
"direct way of formatting numbers with group separators::"
msgstr ""
"El módulo :mod:`locale` accede a una base de datos de formatos específicos a "
"una cultura. El atributo *grouping* de la función *format* permite una "
"forma directa de formatear números con separadores de grupo::"
#: ../Doc/tutorial/stdlib2.rst:72
msgid "Templating"
msgstr "Plantillas"
#: ../Doc/tutorial/stdlib2.rst:74
msgid ""
"The :mod:`string` module includes a versatile :class:`~string.Template` "
"class with a simplified syntax suitable for editing by end-users. This "
"allows users to customize their applications without having to alter the "
"application."
msgstr ""
"El módulo :mod:`string` incluye una clase versátil :class:`~string.Template` "
"(plantilla) con una sintaxis simplificada apta para ser editada por usuarios "
"finales. Esto permite que los usuarios personalicen sus aplicaciones sin "
"necesidad de modificar la aplicación en sí."
#: ../Doc/tutorial/stdlib2.rst:78
msgid ""
"The format uses placeholder names formed by ``$`` with valid Python "
"identifiers (alphanumeric characters and underscores). Surrounding the "
"placeholder with braces allows it to be followed by more alphanumeric "
"letters with no intervening spaces. Writing ``$$`` creates a single escaped "
"``$``::"
msgstr ""
"El formato usa marcadores cuyos nombres se forman con ``$`` seguido de "
"identificadores Python válidos (caracteres alfanuméricos y guión de "
"subrayado). Si se los encierra entre llaves, pueden seguir más caracteres "
"alfanuméricos sin necesidad de dejar espacios en blanco. ``$$`` genera un ``"
"$``::"
#: ../Doc/tutorial/stdlib2.rst:88
msgid ""
"The :meth:`~string.Template.substitute` method raises a :exc:`KeyError` when "
"a placeholder is not supplied in a dictionary or a keyword argument. For "
"mail-merge style applications, user supplied data may be incomplete and the :"
"meth:`~string.Template.safe_substitute` method may be more appropriate --- "
"it will leave placeholders unchanged if data is missing::"
msgstr ""
"El método :meth:`~string.Template.substitute` lanza :exc:`KeyError` cuando "
"no se suministra ningún valor para un marcador mediante un diccionario o "
"argumento por nombre. Para algunas aplicaciones los datos suministrados por "
"el usuario puede ser incompletos, y el método :meth:`~string.Template."
"safe_substitute` puede ser más apropiado: deja los marcadores inalterados "
"cuando falten datos::"
#: ../Doc/tutorial/stdlib2.rst:103
msgid ""
"Template subclasses can specify a custom delimiter. For example, a batch "
"renaming utility for a photo browser may elect to use percent signs for "
"placeholders such as the current date, image sequence number, or file "
"format::"
msgstr ""
"Las subclases de *Template* pueden especificar un delimitador propio. Por "
"ejemplo, una utilidad de renombrado por lotes para una galería de fotos "
"puede escoger usar signos de porcentaje para los marcadores tales como la "
"fecha actual, el número de secuencia de la imagen, o el formato de archivo::"
#: ../Doc/tutorial/stdlib2.rst:125
msgid ""
"Another application for templating is separating program logic from the "
"details of multiple output formats. This makes it possible to substitute "
"custom templates for XML files, plain text reports, and HTML web reports."
msgstr ""
"Las plantillas también pueden ser usadas para separar la lógica del programa "
"de los detalles de múltiples formatos de salida. Esto permite sustituir "
"plantillas específicas para archivos XML, reportes en texto plano, y "
"reportes web en HTML."
#: ../Doc/tutorial/stdlib2.rst:133
msgid "Working with Binary Data Record Layouts"
msgstr "Trabajar con registros estructurados conteniendo datos binarios"
#: ../Doc/tutorial/stdlib2.rst:135
msgid ""
"The :mod:`struct` module provides :func:`~struct.pack` and :func:`~struct."
"unpack` functions for working with variable length binary record formats. "
"The following example shows how to loop through header information in a ZIP "
"file without using the :mod:`zipfile` module. Pack codes ``\"H\"`` and ``\"I"
"\"`` represent two and four byte unsigned numbers respectively. The ``\"