March 2003
Intermediate to advanced
656 pages
39h 30m
English
encode
encode(infile,outfile,spaces,header=False)
Reads file-like object infile, by calling
infile
.readline until
end of file (i.e, until a call to
infile
.readline returns
an empty string), encodes the data thus read in QP, and writes the
encoded ASCII text to file-like object
outfile. When
spaces is true, encode
also encodes spaces and tabs. When header
is true, encode encodes spaces as
_ (underscores).
Read now
Unlock full access