os.path.getsize() on Windows
"Martin v. Löwis"
martin at v.loewis.de
Fri Mar 21 22:17:00 CET 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
More information about the Python-list