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
59b328e1
Kaydet (Commit)
59b328e1
authored
May 02, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added warning about behavior of open mode 'a' (or 'a+').
üst
e71c5a75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
libfuncs.tex
Doc/lib/libfuncs.tex
+4
-1
libfuncs.tex
Doc/libfuncs.tex
+4
-1
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
59b328e1
...
...
@@ -265,7 +265,10 @@ any kind of sequence; the result is always a list.
\code
{
fopen()
}
:
\var
{
filename
}
is the file name to be opened,
\var
{
mode
}
indicates how the file is to be opened:
\code
{
'r'
}
for
reading,
\code
{
'w'
}
for writing (truncating an existing file), and
\code
{
'a'
}
opens it for appending. Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a'
}
opens it for appending (which on
{
\em
some
}
{
\UNIX
}
systems means that
{
\em
all
}
writes append to the end of the file,
regardless of the current seek position).
Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a+'
}
open the file for updating, provided the underlying
\code
{
stdio
}
library understands this. On systems that differentiate
between binary and text files,
\code
{
'b'
}
appended to the mode opens
...
...
Doc/libfuncs.tex
Dosyayı görüntüle @
59b328e1
...
...
@@ -265,7 +265,10 @@ any kind of sequence; the result is always a list.
\code
{
fopen()
}
:
\var
{
filename
}
is the file name to be opened,
\var
{
mode
}
indicates how the file is to be opened:
\code
{
'r'
}
for
reading,
\code
{
'w'
}
for writing (truncating an existing file), and
\code
{
'a'
}
opens it for appending. Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a'
}
opens it for appending (which on
{
\em
some
}
{
\UNIX
}
systems means that
{
\em
all
}
writes append to the end of the file,
regardless of the current seek position).
Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a+'
}
open the file for updating, provided the underlying
\code
{
stdio
}
library understands this. On systems that differentiate
between binary and text files,
\code
{
'b'
}
appended to the mode opens
...
...
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