# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/plistlib.rst:2 msgid ":mod:`plistlib` --- Generate and parse Mac OS X ``.plist`` files" msgstr "" #: ../Doc/library/plistlib.rst:10 msgid "" "This module was previously only available in the Mac-specific library, it is " "now available for all platforms." msgstr "" #: ../Doc/library/plistlib.rst:18 msgid "**Source code:** :source:`Lib/plistlib.py`" msgstr "**Code source :** :source:`Lib/plistlib.py`" #: ../Doc/library/plistlib.rst:22 msgid "" "This module provides an interface for reading and writing the \"property list" "\" XML files used mainly by Mac OS X." msgstr "" #: ../Doc/library/plistlib.rst:25 msgid "" "The property list (``.plist``) file format is a simple XML pickle supporting " "basic object types, like dictionaries, lists, numbers and strings. Usually " "the top level object is a dictionary." msgstr "" #: ../Doc/library/plistlib.rst:29 msgid "" "Values can be strings, integers, floats, booleans, tuples, lists, " "dictionaries (but only with string keys), :class:`Data` or :class:`datetime." "datetime` objects. String values (including dictionary keys) may be unicode " "strings -- they will be written out as UTF-8." msgstr "" #: ../Doc/library/plistlib.rst:34 msgid "" "The ```` plist type is supported through the :class:`Data` class. " "This is a thin wrapper around a Python string. Use :class:`Data` if your " "strings contain control characters." msgstr "" #: ../Doc/library/plistlib.rst:40 msgid "" "`PList manual page `_" msgstr "" #: ../Doc/library/plistlib.rst:41 msgid "Apple's documentation of the file format." msgstr "" #: ../Doc/library/plistlib.rst:44 msgid "This module defines the following functions:" msgstr "Ce module définit les fonctions suivantes :" #: ../Doc/library/plistlib.rst:48 msgid "" "Read a plist file. *pathOrFile* may either be a file name or a (readable) " "file object. Return the unpacked root object (which usually is a " "dictionary)." msgstr "" #: ../Doc/library/plistlib.rst:52 msgid "" "The XML data is parsed using the Expat parser from :mod:`xml.parsers.expat` " "-- see its documentation for possible exceptions on ill-formed XML. Unknown " "elements will simply be ignored by the plist parser." msgstr "" #: ../Doc/library/plistlib.rst:59 msgid "" "Write *rootObject* to a plist file. *pathOrFile* may either be a file name " "or a (writable) file object." msgstr "" #: ../Doc/library/plistlib.rst:62 msgid "" "A :exc:`TypeError` will be raised if the object is of an unsupported type or " "a container that contains objects of unsupported types." msgstr "" #: ../Doc/library/plistlib.rst:68 msgid "Read a plist from a string. Return the root object." msgstr "" #: ../Doc/library/plistlib.rst:73 msgid "Return *rootObject* as a plist-formatted string." msgstr "" #: ../Doc/library/plistlib.rst:79 msgid "" "Read a plist from the resource with type *restype* from the resource fork of " "*path*. Availability: Mac OS X." msgstr "" #: ../Doc/library/plistlib.rst:84 ../Doc/library/plistlib.rst:94 msgid "In Python 3.x, this function has been removed." msgstr "" #: ../Doc/library/plistlib.rst:89 msgid "" "Write *rootObject* as a resource with type *restype* to the resource fork of " "*path*. Availability: Mac OS X." msgstr "" #: ../Doc/library/plistlib.rst:98 msgid "The following class is available:" msgstr "" #: ../Doc/library/plistlib.rst:102 msgid "" "Return a \"data\" wrapper object around the string *data*. This is used in " "functions converting from/to plists to represent the ```` type " "available in plists." msgstr "" #: ../Doc/library/plistlib.rst:106 msgid "" "It has one attribute, :attr:`data`, that can be used to retrieve the Python " "string stored in it." msgstr "" #: ../Doc/library/plistlib.rst:111 msgid "Examples" msgstr "Exemples" #: ../Doc/library/plistlib.rst:113 msgid "Generating a plist::" msgstr "" #: ../Doc/library/plistlib.rst:134 msgid "Parsing a plist::" msgstr ""