Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: python file API Date: Tue, 25 Sep 2012 14:07:41 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 22 Message-ID: References: <0ec1fe2e-890c-4e25-8047-4cb8bee0aa95@googlegroups.com> NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1348582061 22044 64.122.56.22 (25 Sep 2012 14:07:41 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 25 Sep 2012 14:07:41 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.lang.python:30085 On 2012-09-25, Dennis Lee Bieber wrote: > On Tue, 25 Sep 2012 08:22:05 +0200, Ulrich Eckhardt > declaimed the following in > gmane.comp.python.general: > >> Am 24.09.2012 23:49, schrieb Dave Angel: >> > And what approach would you use for positioning relative to >> > end-of-file? That's currently done with an optional second >> > parameter to seek() method. >> >> Negative indices. >> > > Which still doesn't handle the third seek mode -- relative to > current position. fileobj.pos += -- Grant Edwards grant.b.edwards Yow! Am I in GRADUATE at SCHOOL yet? gmail.com