I wrote on comp.lang.python today: > > is there a simple way (or any way at all) to find out for > any given hard disk how much free space is left on that > device? I looked into the os module, but either not hard > enough or there is no such function. Of course, the ideal > solution would be platform-independant, too... :) Is there any good reason for not having a cross-platform solution to this? I'm certainly not the first to ask for such a function and it certainly exists for all platforms, doesn't it? Unfortunately, OS problems like that make it rather impossi- ble to write truly cross-platform applications in Python, even if it is touted to be exactly that. I know that OS differ in the services they provide, but in this case it seems to me that each one *must* have such a function, so I don't understand why it's not there... Regards, Dinu -- Dinu C. Gherman ReportLab Consultant - http://www.reportlab.com ................................................................ "The only possible values [for quality] are 'excellent' and 'in- sanely excellent', depending on whether lives are at stake or not. Otherwise you don't enjoy your work, you don't work well, and the project goes down the drain." (Kent Beck, "Extreme Programming Explained")
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4