Cross-platform space remaining on volume using python
Asked 2008-09-09T11:36:39.093
77
I need a way to determine the space remaining on a disk volume using python on linux, Windows and OS X. I'm currently parsing the output of the various system calls (df, dir) to accomplish this - is there a better way?