[EMAIL PROTECTED] wrote: > I would like to write a script in Python to email me when disk space > gets below a certain value. > > My first question (I'm sure of many) is how do get this output into a > dictionary or list to index the values?
Read it in line by line with os.popen, or one of the more involved popen... modules, and then parse it however you like. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis Who'd ever think it / Such a squalid little ending -- The American and Florence, _Chess_ -- http://mail.python.org/mailman/listinfo/python-list