A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-March/013764.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?Fredrik Lundh fredrik@pythonware.com
Tue, 20 Mar 2001 08:36:59 +0100
tim wrote:
> Here's a radical suggestion:  Start a x-platform project on SourceForge,
> devoted to producing a C library with a common interface for
> platform-dependent crud like "how big is this file?" and "how many bytes free
> on this disk?" and "how can I execute a shell command in a portable way?"
> (e.g., Tcl's "exec" emulates a subset of Bourne shell syntax, including
> redirection and pipes, even on Windows 3.1).

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.

Cheers /F




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