# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Hengky Kurniawan, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-15 19:30+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: Hengky Kurniawan, 2025\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ":mod:`!csv` --- CSV file reading and writing"
msgstr ""

msgid "**Source code:** :source:`Lib/csv.py`"
msgstr "**Kode sumber:** :source:`Lib/csv.py`"

msgid ""
"The so-called CSV (Comma Separated Values) format is the most common import "
"and export format for spreadsheets and databases.  CSV format was used for "
"many years prior to attempts to describe the format in a standardized way "
"in :rfc:`4180`.  The lack of a well-defined standard means that subtle "
"differences often exist in the data produced and consumed by different "
"applications.  These differences can make it annoying to process CSV files "
"from multiple sources. Still, while the delimiters and quoting characters "
"vary, the overall format is similar enough that it is possible to write a "
"single module which can efficiently manipulate such data, hiding the details "
"of reading and writing the data from the programmer."
msgstr ""
"Format CSV (Comma Separated Values) adalah format impor dan ekspor data yang "
"paling umum digunakan untuk data spreadsheet dan database. Format CSV telah "
"digunakan selama bertahun-tahun sebelum adanya upaya untuk mendeskripsikan "
"format yang distandardisasi pada :rfc:`4180`. Kurangnya standar yang "
"terdefinisi dengan baik berarti banyak perbedaan tipis pada data yang "
"dihasilkan dan digunakan dengan penggunaan yang berbeda. Perbedaan tersebut "
"membuat tidak mudah untuk memproses file CSV dari beberapa sumber. Namun, "
"meskipun karakter pembatas dan kutipan berbeda-beda, keseluruhan formatnya "
"cukup mirip sehingga memungkinkan untuk menulis sebuah modul yang secara "
"efisien dapat memanipulasi data tersebut."

msgid ""
"The :mod:`!csv` module implements classes to read and write tabular data in "
"CSV format.  It allows programmers to say, \"write this data in the format "
"preferred by Excel,\" or \"read data from this file which was generated by "
"Excel,\" without knowing the precise details of the CSV format used by "
"Excel.  Programmers can also describe the CSV formats understood by other "
"applications or define their own special-purpose CSV formats."
msgstr ""

msgid ""
"The :mod:`!csv` module's :class:`reader` and :class:`writer` objects read "
"and write sequences.  Programmers can also read and write data in dictionary "
"form using the :class:`DictReader` and :class:`DictWriter` classes."
msgstr ""

msgid ":pep:`305` - CSV File API"
msgstr ":pep:`305` - API File CSV"

msgid "The Python Enhancement Proposal which proposed this addition to Python."
msgstr "Python Enhancement Proposal yang mengusulkan penambahan ini ke Python."

msgid "Module contents"
msgstr ""

msgid "The :mod:`!csv` module defines the following functions:"
msgstr ""

msgid ""
"Return a :ref:`reader object <reader-objects>` that will process lines from "
"the given *csvfile*.  A csvfile must be an iterable of strings, each in the "
"reader's defined csv format. A csvfile is most commonly a file-like object "
"or list. If *csvfile* is a file object, it should be opened with "
"``newline=''``. [1]_  An optional *dialect* parameter can be given which is "
"used to define a set of parameters specific to a particular CSV dialect.  It "
"may be an instance of a subclass of the :class:`Dialect` class or one of the "
"strings returned by the :func:`list_dialects` function.  The other optional "
"*fmtparams* keyword arguments can be given to override individual formatting "
"parameters in the current dialect.  For full details about the dialect and "
"formatting parameters, see section :ref:`csv-fmt-params`."
msgstr ""

msgid ""
"Each row read from the csv file is returned as a list of strings.  No "
"automatic data type conversion is performed unless "
"the :data:`QUOTE_NONNUMERIC` format option is specified (in which case "
"unquoted fields are transformed into floats)."
msgstr ""

msgid "A short usage example::"
msgstr "Contoh penggunaan singkat::"

msgid ""
">>> import csv\n"
">>> with open('eggs.csv', newline='') as csvfile:\n"
"...     spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')\n"
"...     for row in spamreader:\n"
"...         print(', '.join(row))\n"
"Spam, Spam, Spam, Spam, Spam, Baked Beans\n"
"Spam, Lovely Spam, Wonderful Spam"
msgstr ""
">>> import csv\n"
">>> with open('eggs.csv', newline='') as csvfile:\n"
"...     spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')\n"
"...     for row in spamreader:\n"
"...         print(', '.join(row))\n"
"Spam, Spam, Spam, Spam, Spam, Baked Beans\n"
"Spam, Lovely Spam, Wonderful Spam"

msgid "where :file:`eggs.csv` contains:"
msgstr ""

msgid ""
"Spam Spam Spam Spam Spam |Baked Beans|\n"
"Spam |Lovely Spam| |Wonderful Spam|"
msgstr ""

msgid ""
"Return a writer object responsible for converting the user's data into "
"delimited strings on the given file-like object.  *csvfile* can be any "
"object with a :meth:`~io.TextIOBase.write` method.  If *csvfile* is a file "
"object, it should be opened with ``newline=''`` [1]_.  An optional *dialect* "
"parameter can be given which is used to define a set of parameters specific "
"to a particular CSV dialect.  It may be an instance of a subclass of "
"the :class:`Dialect` class or one of the strings returned by "
"the :func:`list_dialects` function.  The other optional *fmtparams* keyword "
"arguments can be given to override individual formatting parameters in the "
"current dialect.  For full details about dialects and formatting parameters, "
"see the :ref:`csv-fmt-params` section. To make it as easy as possible to "
"interface with modules which implement the DB API, the value :const:`None` "
"is written as the empty string.  While this isn't a reversible "
"transformation, it makes it easier to dump SQL NULL data values to CSV files "
"without preprocessing the data returned from a ``cursor.fetch*`` call. All "
"other non-string data are stringified with :func:`str` before being written."
msgstr ""

msgid ""
"import csv\n"
"with open('eggs.csv', 'w', newline='') as csvfile:\n"
"    spamwriter = csv.writer(csvfile, delimiter=' ',\n"
"                            quotechar='|', quoting=csv.QUOTE_MINIMAL)\n"
"    spamwriter.writerow(['Spam'] * 5 + ['Baked Beans'])\n"
"    spamwriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])"
msgstr ""
"import csv\n"
"with open('eggs.csv', 'w', newline='') as csvfile:\n"
"    spamwriter = csv.writer(csvfile, delimiter=' ',\n"
"                            quotechar='|', quoting=csv.QUOTE_MINIMAL)\n"
"    spamwriter.writerow(['Spam'] * 5 + ['Baked Beans'])\n"
"    spamwriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])"

msgid "which writes :file:`eggs.csv` containing:"
msgstr ""

msgid ""
"Associate *dialect* with *name*.  *name* must be a string. The dialect can "
"be specified either by passing a sub-class of :class:`Dialect`, or by "
"*fmtparams* keyword arguments, or both, with keyword arguments overriding "
"parameters of the dialect. For full details about dialects and formatting "
"parameters, see section :ref:`csv-fmt-params`."
msgstr ""

msgid ""
"Delete the dialect associated with *name* from the dialect registry.  "
"An :exc:`Error` is raised if *name* is not a registered dialect name."
msgstr ""

msgid ""
"Return the dialect associated with *name*.  An :exc:`Error` is raised if "
"*name* is not a registered dialect name.  This function returns an "
"immutable :class:`Dialect`."
msgstr ""

msgid "Return the names of all registered dialects."
msgstr "Mengembalikan nama dari semua dialek yang terdaftar."

msgid ""
"Returns the current maximum field size allowed by the parser. If *new_limit* "
"is given, this becomes the new limit."
msgstr ""
"Mengembalikan nilai maksimum ukuran field yang diperbolekan saat ini oleh "
"parser. Jika  *new_limit* diberikan, hal tersebut menjadi limit baru."

msgid "The :mod:`!csv` module defines the following classes:"
msgstr ""

msgid ""
"Create an object that operates like a regular reader but maps the "
"information in each row to a :class:`dict` whose keys are given by the "
"optional *fieldnames* parameter."
msgstr ""

msgid ""
"The *fieldnames* parameter is a :term:`sequence`.  If *fieldnames* is "
"omitted, the values in the first row of file *f* will be used as the "
"fieldnames and will be omitted from the results. If *fieldnames* is "
"provided, they will be used and the first row will be included in the "
"results.  Regardless of how the fieldnames are determined, the dictionary "
"preserves their original ordering."
msgstr ""

msgid ""
"If a row has more fields than fieldnames, the remaining data is put in a "
"list and stored with the fieldname specified by *restkey* (which defaults to "
"``None``).  If a non-blank row has fewer fields than fieldnames, the missing "
"values are filled-in with the value of *restval* (which defaults to "
"``None``)."
msgstr ""

msgid ""
"All other optional or keyword arguments are passed to the "
"underlying :class:`reader` instance."
msgstr ""

msgid ""
"If the argument passed to *fieldnames* is an iterator, it will be coerced to "
"a :class:`list`."
msgstr ""

msgid "Returned rows are now of type :class:`OrderedDict`."
msgstr ""
"Baris-baris yang dikembalikan sekarang memiliki tipe :class:`OrderedDict`."

msgid "Returned rows are now of type :class:`dict`."
msgstr "Baris-baris yang dikembalikan sekarang memiliki tipe :class:`dict`."

msgid ""
">>> import csv\n"
">>> with open('names.csv', newline='') as csvfile:\n"
"...     reader = csv.DictReader(csvfile)\n"
"...     for row in reader:\n"
"...         print(row['first_name'], row['last_name'])\n"
"...\n"
"Eric Idle\n"
"John Cleese\n"
"\n"
">>> print(row)\n"
"{'first_name': 'John', 'last_name': 'Cleese'}"
msgstr ""
">>> import csv\n"
">>> with open('names.csv', newline='') as csvfile:\n"
"...     reader = csv.DictReader(csvfile)\n"
"...     for row in reader:\n"
"...         print(row['first_name'], row['last_name'])\n"
"...\n"
"Eric Idle\n"
"John Cleese\n"
"\n"
">>> print(row)\n"
"{'first_name': 'John', 'last_name': 'Cleese'}"

msgid "where :file:`names.csv` contains:"
msgstr ""

msgid ""
"first_name,last_name\n"
"Eric,Idle\n"
"John,Cleese"
msgstr ""

msgid ""
"Create an object which operates like a regular writer but maps dictionaries "
"onto output rows.  The *fieldnames* parameter is a :mod:`sequence "
"<collections.abc>` of keys that identify the order in which values in the "
"dictionary passed to the :meth:`~csvwriter.writerow` method are written to "
"file *f*.  The optional *restval* parameter specifies the value to be "
"written if the dictionary is missing a key in *fieldnames*.  If the "
"dictionary passed to the :meth:`~csvwriter.writerow` method contains a key "
"not found in *fieldnames*, the optional *extrasaction* parameter indicates "
"what action to take. If it is set to ``'raise'``, the default value, "
"a :exc:`ValueError` is raised. If it is set to ``'ignore'``, extra values in "
"the dictionary are ignored. Any other optional or keyword arguments are "
"passed to the underlying :class:`writer` instance."
msgstr ""

msgid ""
"Note that unlike the :class:`DictReader` class, the *fieldnames* parameter "
"of the :class:`DictWriter` class is not optional."
msgstr ""

msgid ""
"import csv\n"
"\n"
"with open('names.csv', 'w', newline='') as csvfile:\n"
"    fieldnames = ['first_name', 'last_name']\n"
"    writer = csv.DictWriter(csvfile, fieldnames=fieldnames)\n"
"\n"
"    writer.writeheader()\n"
"    writer.writerow({'first_name': 'Baked', 'last_name': 'Beans'})\n"
"    writer.writerow({'first_name': 'Lovely', 'last_name': 'Spam'})\n"
"    writer.writerow({'first_name': 'Wonderful', 'last_name': 'Spam'})"
msgstr ""
"import csv\n"
"\n"
"with open('names.csv', 'w', newline='') as csvfile:\n"
"    fieldnames = ['first_name', 'last_name']\n"
"    writer = csv.DictWriter(csvfile, fieldnames=fieldnames)\n"
"\n"
"    writer.writeheader()\n"
"    writer.writerow({'first_name': 'Baked', 'last_name': 'Beans'})\n"
"    writer.writerow({'first_name': 'Lovely', 'last_name': 'Spam'})\n"
"    writer.writerow({'first_name': 'Wonderful', 'last_name': 'Spam'})"

msgid "which writes :file:`names.csv` containing:"
msgstr ""

msgid ""
"first_name,last_name\n"
"Baked,Beans\n"
"Lovely,Spam\n"
"Wonderful,Spam"
msgstr ""

msgid ""
"The :class:`Dialect` class is a container class whose attributes contain "
"information for how to handle doublequotes, whitespace, delimiters, etc. Due "
"to the lack of a strict CSV specification, different applications produce "
"subtly different CSV data.  :class:`Dialect` instances define "
"how :class:`reader` and :class:`writer` instances behave."
msgstr ""

msgid ""
"All available :class:`Dialect` names are returned by :func:`list_dialects`, "
"and they can be registered with specific :class:`reader` and :class:`writer` "
"classes through their initializer (``__init__``) functions like this::"
msgstr ""

msgid ""
"import csv\n"
"\n"
"with open('students.csv', 'w', newline='') as csvfile:\n"
"    writer = csv.writer(csvfile, dialect='unix')"
msgstr ""
"import csv\n"
"\n"
"with open('students.csv', 'w', newline='') as csvfile:\n"
"    writer = csv.writer(csvfile, dialect='unix')"

msgid ""
"The :class:`excel` class defines the usual properties of an Excel-generated "
"CSV file.  It is registered with the dialect name ``'excel'``."
msgstr ""

msgid ""
"The :class:`excel_tab` class defines the usual properties of an Excel-"
"generated TAB-delimited file.  It is registered with the dialect name "
"``'excel-tab'``."
msgstr ""

msgid ""
"The :class:`unix_dialect` class defines the usual properties of a CSV file "
"generated on UNIX systems, i.e. using ``'\\n'`` as line terminator and "
"quoting all fields.  It is registered with the dialect name ``'unix'``."
msgstr ""

msgid "The :class:`Sniffer` class is used to deduce the format of a CSV file."
msgstr ""
"Kelas :class:`Sniffer` digunakan untuk menyimpulkan format sebuah file CSV."

msgid "The :class:`Sniffer` class provides two methods:"
msgstr "Kelas :class:`Sniffer` menyediakan dua metode:"

msgid ""
"Analyze the given *sample* and return a :class:`Dialect` subclass reflecting "
"the parameters found.  If the optional *delimiters* parameter is given, it "
"is interpreted as a string containing possible valid delimiter characters."
msgstr ""

msgid ""
"If several delimiters fit the sample equally well --- for example if both "
"``','`` and ``';'`` split every row consistently --- the delimiters listed "
"in the :attr:`~Sniffer.preferred` attribute are preferred, in that order, no "
"matter how many times each of them occurs."
msgstr ""

msgid ""
"Analyze the sample text (presumed to be in CSV format) and "
"return :const:`True` if the first row appears to be a series of column "
"headers. Inspecting each column, one of two key criteria will be considered "
"to estimate if the sample contains a header:"
msgstr ""

msgid "the second through n-th rows contain numeric values"
msgstr ""

msgid ""
"the second through n-th rows contain strings where at least one value's "
"length differs from that of the putative header of that column."
msgstr ""

msgid ""
"Twenty-one rows after the header are sampled; if more than half of the "
"columns + rows meet the criteria, :const:`True` is returned."
msgstr ""

msgid ""
"This method is a rough heuristic and may produce both false positives and "
"negatives."
msgstr ""

msgid "The :class:`Sniffer` class has the following attribute:"
msgstr ""

msgid ""
"The list of the delimiters preferred for breaking ties, in the order of "
"preference. It can be modified. Its initial value is ``[',', '\\t', ';', ' "
"', ':']``."
msgstr ""

msgid "An example for :class:`Sniffer` use::"
msgstr "Sebuah contoh untuk penggunaan :class:`Sniffer`::"

msgid ""
"with open('example.csv', newline='') as csvfile:\n"
"    dialect = csv.Sniffer().sniff(csvfile.read(1024))\n"
"    csvfile.seek(0)\n"
"    reader = csv.reader(csvfile, dialect)\n"
"    # ... process CSV file contents here ..."
msgstr ""

msgid "The :mod:`!csv` module defines the following constants:"
msgstr ""

msgid "Instructs :class:`writer` objects to quote all fields."
msgstr "Menginstruksikan objek :class:`writer` untuk mengutip semua fields."

msgid ""
"Instructs :class:`writer` objects to only quote those fields which contain "
"special characters such as *delimiter*, *quotechar*, ``'\\r'``, ``'\\n'`` or "
"any of the characters in *lineterminator*. If *doublequote* "
"is :const:`False` and *escapechar* is set, the *quotechar* is escaped "
"instead of causing the field to be quoted."
msgstr ""

msgid "Instructs :class:`writer` objects to quote all non-numeric fields."
msgstr ""
"Menginstuksikan objek :class:`writer` untuk mengutip semua fields yang tidak "
"memiliki angka."

msgid ""
"Instructs :class:`reader` objects to convert all non-quoted fields to "
"type :class:`float`."
msgstr ""

msgid ""
"Some numeric types, such as :class:`bool`, :class:`~fractions.Fraction`, "
"or :class:`~enum.IntEnum`, have a string representation that cannot be "
"converted to :class:`float`. They cannot be read in "
"the :data:`QUOTE_NONNUMERIC` and :data:`QUOTE_STRINGS` modes."
msgstr ""

msgid ""
"Instructs :class:`writer` objects to never quote fields. When the current "
"*delimiter*, *quotechar*, *escapechar*, ``'\\r'``, ``'\\n'`` or any of the "
"characters in *lineterminator* occurs in output data it is preceded by the "
"current *escapechar* character. If *escapechar* is not set, the writer will "
"raise :exc:`Error` if any characters that require escaping are encountered. "
"Set *quotechar* to ``None`` to prevent its escaping."
msgstr ""

msgid ""
"Instructs :class:`reader` objects to perform no special processing of quote "
"characters."
msgstr ""

msgid ""
"Instructs :class:`writer` objects to quote all fields which are not "
"``None``.  This is similar to :data:`QUOTE_ALL`, except that if a field "
"value is ``None`` an empty (unquoted) string is written."
msgstr ""

msgid ""
"Instructs :class:`reader` objects to interpret an empty (unquoted) field as "
"``None`` and to otherwise behave as :data:`QUOTE_ALL`."
msgstr ""

msgid ""
"Instructs :class:`writer` objects to always place quotes around fields which "
"are strings.  This is similar to :data:`QUOTE_NONNUMERIC`, except that if a "
"field value is ``None`` an empty (unquoted) string is written."
msgstr ""

msgid ""
"Instructs :class:`reader` objects to interpret an empty (unquoted) string as "
"``None`` and to otherwise behave as :data:`QUOTE_NONNUMERIC`."
msgstr ""

msgid "The :mod:`!csv` module defines the following exception:"
msgstr ""

msgid "Raised by any of the functions when an error is detected."
msgstr ""

msgid "Dialects and formatting parameters"
msgstr ""

msgid ""
"To make it easier to specify the format of input and output records, "
"specific formatting parameters are grouped together into dialects.  A "
"dialect is a subclass of the :class:`Dialect` class containing various "
"attributes describing the format of the CSV file.  When "
"creating :class:`reader` or :class:`writer` objects, the programmer can "
"specify a string or a subclass of the :class:`Dialect` class as the dialect "
"parameter.  In addition to, or instead of, the *dialect* parameter, the "
"programmer can also specify individual formatting parameters, which have the "
"same names as the attributes defined below for the :class:`Dialect` class."
msgstr ""

msgid "Dialects support the following attributes:"
msgstr "Dialek mendukung atribut dibawah ini:"

msgid ""
"A one-character string used to separate fields.  It defaults to ``','``."
msgstr ""
"Sebuah karakter yang digunakan sebagai pemisah fields. Dengan nilai bawaan "
"``','``."

msgid ""
"Controls how instances of *quotechar* appearing inside a field should "
"themselves be quoted.  When :const:`True`, the character is doubled. "
"When :const:`False`, the *escapechar* is used as a prefix to the "
"*quotechar*.  It defaults to :const:`True`."
msgstr ""

msgid ""
"On output, if *doublequote* is :const:`False` and no *escapechar* is "
"set, :exc:`Error` is raised if a *quotechar* is found in a field."
msgstr ""

msgid ""
"A one-character string used by the writer to escape characters that require "
"escaping:"
msgstr ""

msgid ""
"the *delimiter*, the *quotechar*, ``'\\r'``, ``'\\n'`` and any of the "
"characters in *lineterminator* are escaped if *quoting* is set "
"to :const:`QUOTE_NONE`;"
msgstr ""

msgid "the *quotechar* is escaped if *doublequote* is :const:`False`;"
msgstr ""

msgid "the *escapechar* itself."
msgstr ""

msgid ""
"On reading, the *escapechar* removes any special meaning from the following "
"character. It defaults to :const:`None`, which disables escaping."
msgstr ""

msgid ""
"Previously the *escapechar* itself was not escaped, which lost it on reading."
msgstr ""

msgid "An empty *escapechar* is not allowed."
msgstr ""

msgid ""
"The string used to terminate lines produced by the :class:`writer`. It "
"defaults to ``'\\r\\n'``."
msgstr ""

msgid ""
"The :class:`reader` is hard-coded to recognise either ``'\\r'`` or ``'\\n'`` "
"as end-of-line, and ignores *lineterminator*. This behavior may change in "
"the future."
msgstr ""

msgid ""
"A one-character string used to quote fields containing special characters, "
"such as the *delimiter* or the *quotechar*, or which contain new-line "
"characters (``'\\r'``, ``'\\n'`` or any of the characters in "
"*lineterminator*). It defaults to ``'\"'``. Can be set to ``None`` to "
"prevent escaping ``'\"'`` if *quoting* is set to :const:`QUOTE_NONE`."
msgstr ""

msgid "An empty *quotechar* is not allowed."
msgstr ""

msgid ""
"Controls when quotes should be generated by the writer and recognised by the "
"reader.  It can take on any of the :ref:`QUOTE_\\* constants <csv-"
"constants>` and defaults to :const:`QUOTE_MINIMAL` if *quotechar* is not "
"``None``, and :const:`QUOTE_NONE` otherwise."
msgstr ""

msgid ""
"When :const:`True`, spaces immediately following the *delimiter* are "
"ignored. The default is :const:`False`.  When combining ``delimiter=' '`` "
"with ``skipinitialspace=True``, unquoted empty fields are not allowed."
msgstr ""

msgid ""
"When ``True``, raise exception :exc:`Error` on bad CSV input. The default is "
"``False``."
msgstr ""

msgid "Reader objects"
msgstr ""

msgid ""
"Reader objects (:class:`DictReader` instances and objects returned by "
"the :func:`reader` function) have the following public methods:"
msgstr ""

msgid ""
"Return the next row of the reader's iterable object as a list (if the object "
"was returned from :func:`reader`) or a dict (if it is a :class:`DictReader` "
"instance), parsed according to the current :class:`Dialect`.  Usually you "
"should call this as ``next(reader)``."
msgstr ""

msgid "Reader objects have the following public attributes:"
msgstr ""

msgid "A read-only description of the dialect in use by the parser."
msgstr ""

msgid ""
"The number of lines read from the source iterator. This is not the same as "
"the number of records returned, as records can span multiple lines."
msgstr ""

msgid "DictReader objects have the following public attribute:"
msgstr "Objek DictReader memiliki atribut publik sebagai berikut:"

msgid ""
"If not passed as a parameter when creating the object, this attribute is "
"initialized upon first access or when the first record is read from the file."
msgstr ""

msgid "Writer objects"
msgstr ""

msgid ""
":class:`writer` objects (:class:`DictWriter` instances and objects returned "
"by the :func:`writer` function) have the following public methods.  A *row* "
"must be an iterable of strings or numbers for :class:`writer` objects and a "
"dictionary mapping fieldnames to strings or numbers (by passing them "
"through :func:`str` first) for :class:`DictWriter` objects.  Note that "
"complex numbers are written out surrounded by parens. This may cause some "
"problems for other programs which read CSV files (assuming they support "
"complex numbers at all)."
msgstr ""

msgid ""
"Write the *row* parameter to the writer's file object, formatted according "
"to the current :class:`Dialect`. Return the return value of the call to the "
"*write* method of the underlying file object."
msgstr ""

msgid "Added support of arbitrary iterables."
msgstr ""

msgid ""
"Write all elements in *rows* (an iterable of *row* objects as described "
"above) to the writer's file object, formatted according to the current "
"dialect."
msgstr ""

msgid "Writer objects have the following public attribute:"
msgstr ""

msgid "A read-only description of the dialect in use by the writer."
msgstr ""

msgid "DictWriter objects have the following public method:"
msgstr "Objek DictWriter memiliki metode publik sebagai berikut:"

msgid ""
"Write a row with the field names (as specified in the constructor) to the "
"writer's file object, formatted according to the current dialect. Return the "
"return value of the :meth:`csvwriter.writerow` call used internally."
msgstr ""

msgid ""
":meth:`writeheader` now also returns the value returned by "
"the :meth:`csvwriter.writerow` method it uses internally."
msgstr ""

msgid "Examples"
msgstr "Contoh-contoh"

msgid "The simplest example of reading a CSV file::"
msgstr "Contoh paling sederhana dari membaca sebuah file CSV::"

msgid ""
"import csv\n"
"with open('some.csv', newline='') as f:\n"
"    reader = csv.reader(f)\n"
"    for row in reader:\n"
"        print(row)"
msgstr ""

msgid "Reading a file with an alternate format::"
msgstr "Membaca file dengan format lain::"

msgid ""
"import csv\n"
"with open('passwd', newline='') as f:\n"
"    reader = csv.reader(f, delimiter=':', quoting=csv.QUOTE_NONE)\n"
"    for row in reader:\n"
"        print(row)"
msgstr ""

msgid "The corresponding simplest possible writing example is::"
msgstr "Contoh paling sederhana dari menulis ke sebuah file CSV::"

msgid ""
"import csv\n"
"with open('some.csv', 'w', newline='') as f:\n"
"    writer = csv.writer(f)\n"
"    writer.writerows(someiterable)"
msgstr ""

msgid ""
"Since :func:`open` is used to open a CSV file for reading, the file will by "
"default be decoded into Unicode using UTF-8.  To decode a file using a "
"different encoding, use the ``encoding`` argument of open::"
msgstr ""

msgid ""
"import csv\n"
"with open('some.csv', newline='', encoding='latin-1') as f:\n"
"    reader = csv.reader(f)\n"
"    for row in reader:\n"
"        print(row)"
msgstr ""

msgid ""
"The same applies to writing in something other than the default encoding: "
"specify the encoding argument when opening the output file."
msgstr ""

msgid "Registering a new dialect::"
msgstr "Mendaftarkan dialek baru::"

msgid ""
"import csv\n"
"csv.register_dialect('unixpwd', delimiter=':', quoting=csv.QUOTE_NONE)\n"
"with open('passwd', newline='') as f:\n"
"    reader = csv.reader(f, 'unixpwd')"
msgstr ""

msgid ""
"A slightly more advanced use of the reader --- catching and reporting "
"errors::"
msgstr ""

msgid ""
"import csv, sys\n"
"filename = 'some.csv'\n"
"with open(filename, newline='') as f:\n"
"    reader = csv.reader(f)\n"
"    try:\n"
"        for row in reader:\n"
"            print(row)\n"
"    except csv.Error as e:\n"
"        sys.exit(f'file {filename}, line {reader.line_num}: {e}')"
msgstr ""

msgid ""
"And while the module doesn't directly support parsing strings, it can easily "
"be done::"
msgstr ""

msgid ""
"import csv\n"
"for row in csv.reader(['one,two,three']):\n"
"    print(row)"
msgstr ""

msgid "Footnotes"
msgstr "Catatan kaki"

msgid ""
"If ``newline=''`` is not specified, newlines embedded inside quoted fields "
"will not be interpreted correctly, and on platforms that use ``\\r\\n`` line "
"endings on write an extra ``\\r`` will be added.  It should always be safe "
"to specify ``newline=''``, since the csv module does its own "
"(:term:`universal <universal newlines>`) newline handling."
msgstr ""

msgid "csv"
msgstr "csv"

msgid "data"
msgstr "data"

msgid "tabular"
msgstr ""

msgid "universal newlines"
msgstr "uniwersalne nowe linie"

msgid "csv.reader function"
msgstr ""
