Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ba0485a9
Kaydet (Commit)
ba0485a9
authored
Ock 21, 2004
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
expand on notion of row object type
üst
7895146c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
libcsv.tex
Doc/lib/libcsv.tex
+10
-3
No files found.
Doc/lib/libcsv.tex
Dosyayı görüntüle @
ba0485a9
...
...
@@ -285,8 +285,14 @@ according to the current dialect.
\subsection
{
Writer Objects
}
Writer objects (
\class
{
DictWriter
}
instances and objects returned by
the
\function
{
writer()
}
function) have the following public methods:
\class
{
Writer
}
objects (
\class
{
DictWriter
}
instances and objects returned by
the
\function
{
writer()
}
function) have the following public methods. A
{}
\var
{
row
}
must be a sequence of strings or numbers for
\class
{
Writer
}
objects and a dictionary mapping fieldnames to strings or numbers (by
passing them through
\function
{
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).
\begin{methoddesc}
[csv writer]
{
writerow
}{
row
}
Write the
\var
{
row
}
parameter to the writer's file object, formatted
...
...
@@ -294,7 +300,8 @@ according to the current dialect.
\end{methoddesc}
\begin{methoddesc}
[csv writer]
{
writerows
}{
rows
}
Write all the
\var
{
rows
}
parameters to the writer's file object, formatted
Write all the
\var
{
rows
}
parameters (a list of
\var
{
row
}
objects as
described above) to the writer's file object, formatted
according to the current dialect.
\end{methoddesc}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment