On Wed, Jan 7, 2009 at 1:08 PM, Spencer Parker <inthefri...@gmail.com> 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 - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor