A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/1999-November/001805.html below:

Module for generic platform information: platform.py

Module for generic platform information: platform.pyHans Nowak ivnowa at hvision.nl
Thu Nov 4 17:08:42 EST 1999
On 4 Nov 99, M.-A. Lemburg wrote:

> There is a new release of the platform.py module available at:
> 
>         http://starship.skyport.net/~lemburg/platform.py
> 
> Still needed:
>     · support for WinCE
>     · support for MS-DOS (PythonDX ?)

Hmm... Doesn't that work already? I tried it several days ago, so 
with an older version of platform.py, obviously. Here's what it says 
when fed to Python-DX:

c:/djgpp/bin/uname.exe: invalid option -- p
Try `c:/djgpp/bin/uname.exe --help' for more information.
MS-DOS-7-pc

(OK, the error message doesn't belong there, but that's just because 
of the uname call. Most DOS users won't have an uname at all on their 
system. In spite of this, it does find the right DOS version. By the 
way, note that the os.popen, used to call uname, works. ;-)

When run with Python for Windows (on the same PC) it says:

Windows-95-4.00.1111

I don't know what it does on DOS 6 and lower, though. =/

--Hans Nowak (zephyrfalcon at hvision.nl)
Homepage: http://fly.to/zephyrfalcon
You call me a masterless man. You are wrong. I am my own master.


More information about the Python-list mailing list

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