On Mon, 17 Jan 2011 14:53:19 +0100 Giampaolo RodolĂ <g.rodola at gmail.com> wrote: > I've recently implemented this functionality in psutil: > http://code.google.com/p/psutil/issues/detail?id=147 > If desired, I can contribute a patch for the os module, altough being > such functions Linux-only, I'm not sure os module is the right place > for them to land. > Also, I've been thinking about this for quite a bit: would it be the > case to add system-specific modules such as "linux" (and maybe also a > "win32") to the standard library? The problem with something named "linux" is that when some of these APIs get ported to other Unix variants, things will get very confusing. "win32" is different since it's quite unlikely for some Windows-specific APIs to get ported to other OSes. Regards Antoine.
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