Re: how to parse system functions output

2005-04-06 Thread [EMAIL PROTECTED]
Or if you run 2.4 you can use subprocess -- http://mail.python.org/mailman/listinfo/python-list

Re: how to parse system functions output

2005-04-06 Thread Peter Hansen
praba kar wrote: eg) bytesused = os.system('du -sh /Users/enmail') if I print this bytesused variable the output of bytesused variable is the below 14M /Users/enmail 0 It's unlikely this is the contents of "bytesused", because os.system() does not return the output of the program that is run, i