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
e9a0732c
Kaydet (Commit)
e9a0732c
authored
Nis 27, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Note that passing a filename to uu.{en,de}code() is deprecated.
üst
e76b7a8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
18 deletions
+16
-18
libbinascii.tex
Doc/lib/libbinascii.tex
+8
-9
libbinascii.tex
Doc/libbinascii.tex
+8
-9
No files found.
Doc/lib/libbinascii.tex
Dosyayı görüntüle @
e9a0732c
...
...
@@ -18,7 +18,7 @@ method).
\end{funcdesc}
\begin{funcdesc}
{
hexbin
}{
input
\optional
{
\,
output
}}
Decode a binhex file
\var
{
input
}
.
\var
{
I
nput
}
may be a filename or a
Decode a binhex file
\var
{
input
}
.
\var
{
i
nput
}
may be a filename or a
file-like object supporting
\var
{
read
}
and
\var
{
close
}
methods.
The resulting file is written to a file named
\var
{
output
}
, unless the
argument is empty in which case the output filename is read from the
...
...
@@ -40,14 +40,13 @@ As of this writing, \var{hexbin} appears to not work in all cases.
This module encodes and decodes files in uuencode format, allowing
arbitrary binary data to be transferred over ascii-only connections.
Whereever a file argument is expected, the methods accept either a
pathname (
\code
{
'-'
}
for stdin/stdout) or a file-like object.
Normally you would pass filenames, but there is one case where you
have to open the file yourself: if you are on a non-unix platform and
your binary file is actually a textfile that you want encoded
unix-compatible you will have to open the file yourself as a textfile,
so newline conversion is performed.
Wherever a file argument is expected, the methods accept a file-like
object. For backwards compatibility, a string containing a pathname
is also accepted, and the corresponding file will be opened for
reading and writing; the pathname
\code
{
'-'
}
is understood to mean the
standard input or output. However, this interface is deprecated; it's
better for the caller to open the file itself, and be sure that, when
required, the mode is
\code
{
'rb'
}
or
\code
{
'wb'
}
on Windows or DOS.
This code was contributed by Lance Ellinghouse, and modified by Jack
Jansen.
...
...
Doc/libbinascii.tex
Dosyayı görüntüle @
e9a0732c
...
...
@@ -18,7 +18,7 @@ method).
\end{funcdesc}
\begin{funcdesc}
{
hexbin
}{
input
\optional
{
\,
output
}}
Decode a binhex file
\var
{
input
}
.
\var
{
I
nput
}
may be a filename or a
Decode a binhex file
\var
{
input
}
.
\var
{
i
nput
}
may be a filename or a
file-like object supporting
\var
{
read
}
and
\var
{
close
}
methods.
The resulting file is written to a file named
\var
{
output
}
, unless the
argument is empty in which case the output filename is read from the
...
...
@@ -40,14 +40,13 @@ As of this writing, \var{hexbin} appears to not work in all cases.
This module encodes and decodes files in uuencode format, allowing
arbitrary binary data to be transferred over ascii-only connections.
Whereever a file argument is expected, the methods accept either a
pathname (
\code
{
'-'
}
for stdin/stdout) or a file-like object.
Normally you would pass filenames, but there is one case where you
have to open the file yourself: if you are on a non-unix platform and
your binary file is actually a textfile that you want encoded
unix-compatible you will have to open the file yourself as a textfile,
so newline conversion is performed.
Wherever a file argument is expected, the methods accept a file-like
object. For backwards compatibility, a string containing a pathname
is also accepted, and the corresponding file will be opened for
reading and writing; the pathname
\code
{
'-'
}
is understood to mean the
standard input or output. However, this interface is deprecated; it's
better for the caller to open the file itself, and be sure that, when
required, the mode is
\code
{
'rb'
}
or
\code
{
'wb'
}
on Windows or DOS.
This code was contributed by Lance Ellinghouse, and modified by Jack
Jansen.
...
...
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