Re: Checking free disk space on Win32 ?

2006-01-28 Thread M�ta-MCI
Hi!

Fun.
Slow, but fun.
Thanks.

@-salutations

Michel Claveau



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Checking free disk space on Win32 ?

2006-01-28 Thread [EMAIL PROTECTED]
You might find the following interesting too
http://unpythonic.net/jeff/tkdu/

Cheers,
Davy Mitchell

Mood News
 - BBC News Headlines Auto-Classified as   Good,   Bad or   Neutral.
 http://www.latedecember.com/sites/moodnews/

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Checking free disk space on Win32 ?

2006-01-28 Thread M�ta-MCI
Hi !


Another method :

import os
print str(os.popen4('dir C:\ /AD |find "octets"|find 
"libre"')[1].readlines()[0].split()[2])

Warning !  It's French version.
For english, perhaps (depend of DIR return format) :

import os
print str(os.popen4('dir C:\ /AD |find "bytes"|find 
"free"')[1].readlines()[0].split()[2])


@-salutations

Michel Claveau



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Checking free disk space on Win32 ?

2006-01-28 Thread Ravi Teja
http://mail.python.org/pipermail/python-list/2001-January/025344.html

-- 
http://mail.python.org/mailman/listinfo/python-list