119 <td>Public method to check, if a stream is writable.</td> |
119 <td>Public method to check, if a stream is writable.</td> |
120 </tr><tr> |
120 </tr><tr> |
121 <td><a href="#AsyncFile.write">write</a></td> |
121 <td><a href="#AsyncFile.write">write</a></td> |
122 <td>Public method to write a string to the file.</td> |
122 <td>Public method to write a string to the file.</td> |
123 </tr><tr> |
123 </tr><tr> |
|
124 <td><a href="#AsyncFile.write_p">write_p</a></td> |
|
125 <td>Public method to write a string to the file.</td> |
|
126 </tr><tr> |
124 <td><a href="#AsyncFile.writelines">writelines</a></td> |
127 <td><a href="#AsyncFile.writelines">writelines</a></td> |
125 <td>Public method to write a list of strings to the file.</td> |
128 <td>Public method to write a list of strings to the file.</td> |
126 </tr> |
129 </tr> |
127 </table> |
130 </table> |
128 <h3>Static Methods</h3> |
131 <h3>Static Methods</h3> |
379 <p> |
382 <p> |
380 Public method to write a string to the file. |
383 Public method to write a string to the file. |
381 </p><dl> |
384 </p><dl> |
382 <dt><i>s</i></dt> |
385 <dt><i>s</i></dt> |
383 <dd> |
386 <dd> |
384 bytes to be written (string) |
387 text to be written (string) |
|
388 </dd> |
|
389 </dl><a NAME="AsyncFile.write_p" ID="AsyncFile.write_p"></a> |
|
390 <h4>AsyncFile.write_p</h4> |
|
391 <b>write_p</b>(<i>s</i>) |
|
392 <p> |
|
393 Public method to write a string to the file. |
|
394 </p><dl> |
|
395 <dt><i>s</i></dt> |
|
396 <dd> |
|
397 text to be written (string) |
385 </dd> |
398 </dd> |
386 </dl><dl> |
399 </dl><dl> |
387 <dt>Raises <b>socket.error</b>:</dt> |
400 <dt>Raises <b>socket.error</b>:</dt> |
388 <dd> |
401 <dd> |
389 raised to indicate too many send attempts |
402 raised to indicate too many send attempts |
390 </dd> |
403 </dd> |
391 </dl><a NAME="AsyncFile.writelines" ID="AsyncFile.writelines"></a> |
404 </dl><a NAME="AsyncFile.writelines" ID="AsyncFile.writelines"></a> |
392 <h4>AsyncFile.writelines</h4> |
405 <h4>AsyncFile.writelines</h4> |
393 <b>writelines</b>(<i>list</i>) |
406 <b>writelines</b>(<i>lines</i>) |
394 <p> |
407 <p> |
395 Public method to write a list of strings to the file. |
408 Public method to write a list of strings to the file. |
396 </p><dl> |
409 </p><dl> |
397 <dt><i>list</i></dt> |
410 <dt><i>lines</i></dt> |
398 <dd> |
411 <dd> |
399 the list to be written (list of string) |
412 list of texts to be written (list of string) |
400 </dd> |
413 </dd> |
401 </dl> |
414 </dl> |
402 <div align="right"><a href="#top">Up</a></div> |
415 <div align="right"><a href="#top">Up</a></div> |
403 <hr /><hr /> |
416 <hr /><hr /> |
404 <a NAME="AsyncPendingWrite" ID="AsyncPendingWrite"></a> |
417 <a NAME="AsyncPendingWrite" ID="AsyncPendingWrite"></a> |