Or if you run 2.4 you can use subprocess
--
http://mail.python.org/mailman/listinfo/python-list
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
Dear all,
I want to parse the system functions output
but I couldn't do it. Kindly assist me in this
task.
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
Now From this Output I want