A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-March/013765.html below:

[Python-Dev] Function in os module for available disk space, why not?

[Python-Dev] Function in os module for available disk space, why not? [Python-Dev] Function in os module for available disk space, why not?Tim Peters tim.one@home.com
Tue, 20 Mar 2001 03:30:18 -0500
[Fredrik Lundh]
> counter-suggestion:
>
> add partial os.statvfs emulation to the posix module for Windows
> (and Mac), and write helpers for shutil to do the fancy stuff you
> mentioned before.

One of the best things Python ever did was to introduce os.path.getsize() +
friends, saving the bulk of the world from needing to wrestle with the
obscure Unix stat() API.  os.chmod() is another x-platform teachability pain;
if there's anything worth knowing in the bowels of statvfs(), let's please
spell it in a human-friendly way from the start.




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