get the size of a dynamically changing file fast ?

Stef Mientki S.Mientki-nospam at mailbox.kun.nl
Thu Jan 24 16:29:52 CET 2008


Gabriel Genellina wrote:
> En Wed, 23 Jan 2008 16:16:58 -0200, Stef Mientki 
> <stef.mientki at gmail.com> escribió:
> 
>>>> Yes, that's a small disadavantage of using a "high-level" language,
>>>> where there's no flush available, and you assume it'll done
>>>> automatically ;-)
>>>
>>> Uhm, there is a flush method for Python's files.  From "http://
>>>
>> I was talking about a "high-level" language, in which the sending
>> program was written,
>> (Delphi, not about Python ;-)
> 
> In Delphi, flush(filevar) does work.
flush is only valid for textfiles, not for binary files (at least in D7)

anyway thanks, cheers,
Stef



More information about the Python-list mailing list