File Rückwärts lesen?

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
Antworten
Benutzeravatar
dennda
User
Beiträge: 17
Registriert: Montag 19. November 2007, 22:07

Hi. Ich habe jetzt hier nicht alles gelesen sondern nur kurz das Startposting überflogen. Genauer gesagt habe ich mir nicht mal sonderlich viele Gedanken gemacht weil ich grade in Eile bin. Ich dachte nur ich lasse das hier mal da, vielleicht ist es ja hilfreich:
seek(...)
seek(offset[, whence]) -> None. Move to new file position.

Argument offset is a byte count. Optional argument whence defaults to
0 (offset from start of file, offset should be >= 0); other values are 1
(move relative to current position, positive or negative), and 2 (move
relative to end of file,
usually negative, although many platforms allow
seeking beyond the end of a file). If the file is opened in text mode,
only offsets returned by tell() are legal. Use of other offsets causes
undefined behavior.
Note that not all file objects are seekable.
Antworten