85 <td>Public method to read bytes from this file.</td> |
85 <td>Public method to read bytes from this file.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#AsyncFile.read_p">read_p</a></td> |
87 <td><a href="#AsyncFile.read_p">read_p</a></td> |
88 <td>Public method to read bytes from this file.</td> |
88 <td>Public method to read bytes from this file.</td> |
89 </tr><tr> |
89 </tr><tr> |
|
90 <td><a href="#AsyncFile.readable">readable</a></td> |
|
91 <td>Public method to check, if the stream is readable.</td> |
|
92 </tr><tr> |
90 <td><a href="#AsyncFile.readline">readline</a></td> |
93 <td><a href="#AsyncFile.readline">readline</a></td> |
91 <td>Public method to read one line from this file.</td> |
94 <td>Public method to read one line from this file.</td> |
92 </tr><tr> |
95 </tr><tr> |
93 <td><a href="#AsyncFile.readline_p">readline_p</a></td> |
96 <td><a href="#AsyncFile.readline_p">readline_p</a></td> |
94 <td>Public method to read a line from this file.</td> |
97 <td>Public method to read a line from this file.</td> |
97 <td>Public method to read all lines from this file.</td> |
100 <td>Public method to read all lines from this file.</td> |
98 </tr><tr> |
101 </tr><tr> |
99 <td><a href="#AsyncFile.seek">seek</a></td> |
102 <td><a href="#AsyncFile.seek">seek</a></td> |
100 <td>Public method to move the filepointer.</td> |
103 <td>Public method to move the filepointer.</td> |
101 </tr><tr> |
104 </tr><tr> |
|
105 <td><a href="#AsyncFile.seekable">seekable</a></td> |
|
106 <td>Public method to check, if the stream is seekable.</td> |
|
107 </tr><tr> |
102 <td><a href="#AsyncFile.tell">tell</a></td> |
108 <td><a href="#AsyncFile.tell">tell</a></td> |
103 <td>Public method to get the filepointer position.</td> |
109 <td>Public method to get the filepointer position.</td> |
104 </tr><tr> |
110 </tr><tr> |
105 <td><a href="#AsyncFile.truncate">truncate</a></td> |
111 <td><a href="#AsyncFile.truncate">truncate</a></td> |
106 <td>Public method to truncate the file.</td> |
112 <td>Public method to truncate the file.</td> |
|
113 </tr><tr> |
|
114 <td><a href="#AsyncFile.writable">writable</a></td> |
|
115 <td>Public method to check, if a stream is writable.</td> |
107 </tr><tr> |
116 </tr><tr> |
108 <td><a href="#AsyncFile.write">write</a></td> |
117 <td><a href="#AsyncFile.write">write</a></td> |
109 <td>Public method to write a string to the file.</td> |
118 <td>Public method to write a string to the file.</td> |
110 </tr><tr> |
119 </tr><tr> |
111 <td><a href="#AsyncFile.writelines">writelines</a></td> |
120 <td><a href="#AsyncFile.writelines">writelines</a></td> |
224 </dl><dl> |
233 </dl><dl> |
225 <dt>Returns:</dt> |
234 <dt>Returns:</dt> |
226 <dd> |
235 <dd> |
227 the bytes read (any) |
236 the bytes read (any) |
228 </dd> |
237 </dd> |
|
238 </dl><a NAME="AsyncFile.readable" ID="AsyncFile.readable"></a> |
|
239 <h4>AsyncFile.readable</h4> |
|
240 <b>readable</b>(<i></i>) |
|
241 <p> |
|
242 Public method to check, if the stream is readable. |
|
243 </p><dl> |
|
244 <dt>Returns:</dt> |
|
245 <dd> |
|
246 flag indicating a readable stream (boolean) |
|
247 </dd> |
229 </dl><a NAME="AsyncFile.readline" ID="AsyncFile.readline"></a> |
248 </dl><a NAME="AsyncFile.readline" ID="AsyncFile.readline"></a> |
230 <h4>AsyncFile.readline</h4> |
249 <h4>AsyncFile.readline</h4> |
231 <b>readline</b>(<i>sizehint=-1</i>) |
250 <b>readline</b>(<i>sizehint=-1</i>) |
232 <p> |
251 <p> |
233 Public method to read one line from this file. |
252 Public method to read one line from this file. |
291 <dt>Raises <b>IOError</b>:</dt> |
310 <dt>Raises <b>IOError</b>:</dt> |
292 <dd> |
311 <dd> |
293 This method is not supported and always raises an |
312 This method is not supported and always raises an |
294 IOError. |
313 IOError. |
295 </dd> |
314 </dd> |
|
315 </dl><a NAME="AsyncFile.seekable" ID="AsyncFile.seekable"></a> |
|
316 <h4>AsyncFile.seekable</h4> |
|
317 <b>seekable</b>(<i></i>) |
|
318 <p> |
|
319 Public method to check, if the stream is seekable. |
|
320 </p><dl> |
|
321 <dt>Returns:</dt> |
|
322 <dd> |
|
323 flag indicating a seekable stream (boolean) |
|
324 </dd> |
296 </dl><a NAME="AsyncFile.tell" ID="AsyncFile.tell"></a> |
325 </dl><a NAME="AsyncFile.tell" ID="AsyncFile.tell"></a> |
297 <h4>AsyncFile.tell</h4> |
326 <h4>AsyncFile.tell</h4> |
298 <b>tell</b>(<i></i>) |
327 <b>tell</b>(<i></i>) |
299 <p> |
328 <p> |
300 Public method to get the filepointer position. |
329 Public method to get the filepointer position. |
317 </dl><dl> |
346 </dl><dl> |
318 <dt>Raises <b>IOError</b>:</dt> |
347 <dt>Raises <b>IOError</b>:</dt> |
319 <dd> |
348 <dd> |
320 This method is not supported and always raises an |
349 This method is not supported and always raises an |
321 IOError. |
350 IOError. |
|
351 </dd> |
|
352 </dl><a NAME="AsyncFile.writable" ID="AsyncFile.writable"></a> |
|
353 <h4>AsyncFile.writable</h4> |
|
354 <b>writable</b>(<i></i>) |
|
355 <p> |
|
356 Public method to check, if a stream is writable. |
|
357 </p><dl> |
|
358 <dt>Returns:</dt> |
|
359 <dd> |
|
360 flag indicating a writable stream (boolean) |
322 </dd> |
361 </dd> |
323 </dl><a NAME="AsyncFile.write" ID="AsyncFile.write"></a> |
362 </dl><a NAME="AsyncFile.write" ID="AsyncFile.write"></a> |
324 <h4>AsyncFile.write</h4> |
363 <h4>AsyncFile.write</h4> |
325 <b>write</b>(<i>s</i>) |
364 <b>write</b>(<i>s</i>) |
326 <p> |
365 <p> |