src/eric7/Documentation/Source/eric7.DebugClients.Python.AsyncFile.html

branch
eric7
changeset 10259
b51dfacef37f
parent 10070
9f5758c0fec1
child 10479
856476537696
equal deleted inserted replaced
10258:e7764f992a01 10259:b51dfacef37f
115 <td><a href="#AsyncFile.readlines">readlines</a></td> 115 <td><a href="#AsyncFile.readlines">readlines</a></td>
116 <td>Public method to read all lines from this file.</td> 116 <td>Public method to read all lines from this file.</td>
117 </tr> 117 </tr>
118 <tr> 118 <tr>
119 <td><a href="#AsyncFile.seek">seek</a></td> 119 <td><a href="#AsyncFile.seek">seek</a></td>
120 <td></td> 120 <td>Public method to move the filepointer.</td>
121 </tr> 121 </tr>
122 <tr> 122 <tr>
123 <td><a href="#AsyncFile.seekable">seekable</a></td> 123 <td><a href="#AsyncFile.seekable">seekable</a></td>
124 <td>Public method to check, if the stream is seekable.</td> 124 <td>Public method to check, if the stream is seekable.</td>
125 </tr> 125 </tr>
127 <td><a href="#AsyncFile.tell">tell</a></td> 127 <td><a href="#AsyncFile.tell">tell</a></td>
128 <td>Public method to get the filepointer position.</td> 128 <td>Public method to get the filepointer position.</td>
129 </tr> 129 </tr>
130 <tr> 130 <tr>
131 <td><a href="#AsyncFile.truncate">truncate</a></td> 131 <td><a href="#AsyncFile.truncate">truncate</a></td>
132 <td></td> 132 <td>Public method to truncate the file.</td>
133 </tr> 133 </tr>
134 <tr> 134 <tr>
135 <td><a href="#AsyncFile.writable">writable</a></td> 135 <td><a href="#AsyncFile.writable">writable</a></td>
136 <td>Public method to check, if a stream is writable.</td> 136 <td>Public method to check, if a stream is writable.</td>
137 </tr> 137 </tr>
453 </dl> 453 </dl>
454 <a NAME="AsyncFile.seek" ID="AsyncFile.seek"></a> 454 <a NAME="AsyncFile.seek" ID="AsyncFile.seek"></a>
455 <h4>AsyncFile.seek</h4> 455 <h4>AsyncFile.seek</h4>
456 <b>seek</b>(<i>offset, whence=0</i>) 456 <b>seek</b>(<i>offset, whence=0</i>)
457 457
458 <p>
459 Public method to move the filepointer.
460 </p>
461 <dl>
462
463 <dt><i>offset</i> (int)</dt>
464 <dd>
465 offset to move the filepointer to
466 </dd>
467 <dt><i>whence</i> (int)</dt>
468 <dd>
469 position the offset relates to
470 </dd>
471 </dl>
472 <dl>
473
474 <dt>Raises <b>OSError</b>:</dt>
475 <dd>
476 This method is not supported and always raises an
477 OSError.
478 </dd>
479 </dl>
458 <a NAME="AsyncFile.seekable" ID="AsyncFile.seekable"></a> 480 <a NAME="AsyncFile.seekable" ID="AsyncFile.seekable"></a>
459 <h4>AsyncFile.seekable</h4> 481 <h4>AsyncFile.seekable</h4>
460 <b>seekable</b>(<i></i>) 482 <b>seekable</b>(<i></i>)
461 483
462 <p> 484 <p>
491 </dl> 513 </dl>
492 <a NAME="AsyncFile.truncate" ID="AsyncFile.truncate"></a> 514 <a NAME="AsyncFile.truncate" ID="AsyncFile.truncate"></a>
493 <h4>AsyncFile.truncate</h4> 515 <h4>AsyncFile.truncate</h4>
494 <b>truncate</b>(<i>size=-1</i>) 516 <b>truncate</b>(<i>size=-1</i>)
495 517
518 <p>
519 Public method to truncate the file.
520 </p>
521 <dl>
522
523 <dt><i>size</i> (int)</dt>
524 <dd>
525 size to truncate to
526 </dd>
527 </dl>
528 <dl>
529
530 <dt>Raises <b>OSError</b>:</dt>
531 <dd>
532 This method is not supported and always raises an
533 OSError.
534 </dd>
535 </dl>
496 <a NAME="AsyncFile.writable" ID="AsyncFile.writable"></a> 536 <a NAME="AsyncFile.writable" ID="AsyncFile.writable"></a>
497 <h4>AsyncFile.writable</h4> 537 <h4>AsyncFile.writable</h4>
498 <b>writable</b>(<i></i>) 538 <b>writable</b>(<i></i>)
499 539
500 <p> 540 <p>

eric ide

mercurial