os.path.getsize() on Windows
"Martin v. Löwis"
martin at v.loewis.de
Fri Mar 21 17:17:00 EDT 2008
>> Why do you say that? It most definitely returns what the size currently
>> is, not what it will be in the future (how could it know, anyway).
>
> I've seen this before, when copying a file in Windows. Windows reports
> the size the file will be after the copy is complete (it knows, after
> all, the size of the source file). I always thought this meant that
> Windows is just much smarter than me, so I ignored it.
No, I really think the target file has its size right from the
beginning.
Regards,
Martin
More information about the Python-list
mailing list