Eddie Corns wrote:
> [EMAIL PROTECTED] writes:
>
>> I'm trying to find some code that will turn:
>
>> 100 -> 100
>> 1000 -> 1,000
>> 100 -> 1,000,000
>> -1000 -> -1,000
>
>> I know that can be done using a regular expression. In Perl I would do
>> something like:
>
>> sub thousand {
>>
Martin v. Löwis wrote:
>> def isGrowing(f, timeout):
>> ssize = os.path.getsize(f)
>> time.sleep(timeout)
>> esize =os.path.getsize(f)
>> return esize != ssize
>>
>> On windows, this returns the size of the file as it _will be_, not the
>> size that it currently is.