On Wed, Jan 7, 2009 at 1:08 PM, Spencer Parker <[email protected]> wrote: > Is there anyway to get rid of the header information? I just want the > output that it gives me for the device.
If you know how to get the output of df into Python (e.g. with the subprocess module or a pipe) then you can use the str.splitlines() method to divide it into lines and pick out the line you want. Kent _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
