check disc space

T. Schulz thomas at esands.com
Thu Dec 11 07:19:18 CET 2003


Thanks for that.
I wonder if it would be worthwhile to have such a functionality 
somewhere in the os module?

Thomas


David M. Wilson wrote:

> Thomas Schulz <thomas at esands.com> wrote...
> 
> 
>>Any ideas how to check for free disc space from Python. Platform 
>>independent?
> 
> 
> Fortunately for you, my bad stomach will not allow me but a precious
> hour of sleep this fine morning. :)
> 
>    http://botanicus.net/dw/tmp/DiskFree.py
> 
> Tested: Win32, Linux, FreeBSD. I'm going to work in about 3 hours.
> This _really_ sucks. :(
> 
> 
> David.





More information about the Python-list mailing list