Granularity of OSError
kj
no.email at please.post
Mon Sep 21 10:50:28 EDT 2009
In <mailman.122.1253409745.2807.python-list at python.org> MRAB <python at mrabarnett.plus.com> writes:
>kj wrote:
>> In <mailman.107.1253369463.2807.python-list at python.org> MRAB <python at mrabarnett.plus.com> writes:
>>
>>> If, for example, you're
>>> going to copy a file, it's a good idea to check beforehand that there's
>>> enough space available for the copy.
>>
>> How do you do that?
>>
>There's os.statvfs(...), although that's Unix only.
Thanks!
kynn
More information about the Python-list
mailing list