Home | History | Annotate | Download | only in Lib

Lines Matching defs:write

43     """Read 'input', apply quoted-printable encoding, and write to 'output'.
45 'input' and 'output' are files with readline() and write() methods.
56 output.write(odata)
59 def write(s, output=output, lineEnd='\n'):
63 output.write(s[:-1] + quote(s[-1]) + lineEnd)
65 output.write(quote(s) + lineEnd)
67 output.write(s + lineEnd)
88 # First, write out the previous line
90 write(prevline)
97 write(thisline[:MAXLINESIZE-1], lineEnd='=\n')
99 # Write out the current line
101 # Write out the last line, without a trailing newline
103 write(prevline, lineEnd=stripped)
117 """Read 'input', apply quoted-printable decoding, and write to 'output'.
118 'input' and 'output' are files with readline() and write() methods.
124 output.write(odata)
154 output.write(new + '\n')
157 output.write(new)
222 sys.stderr.write("%s: can't open (%s)\n" % (file, msg))