I\'m looking for the number of free bytes on my HD, but have trouble doing so on python.
I\'ve tried the following:
import os stat = os.statvfs(path
What's wrong with
import subprocess proc= subprocess.Popen( "df", stdout=subprocess.PIPE ) proc.stdout.read() proc.wait()