get the size of a dynamically changing file fast ?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Jan 23 17:06:51 EST 2008


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. Or are you using a TFileStream or  
similar?

-- 
Gabriel Genellina




More information about the Python-list mailing list