sys.platform documentation?

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Aug 10 07:00:50 EDT 2006


Michiel Sikma wrote:
> Hello everybody,
>
> I was thinking about making a really insignificant addition to an
> online system that I'm making using Python: namely, I would like it
> to print the platform that it is running on in a human-readable
> manner. I was thinking of doing it like this:

[... snip ...]

> However, in order to populate the list of platforms, I need to know
> which strings sys.platform can return. I haven't found any
> documentation on this

Not that this answers your question directly, but is the
platform module of any more use to you?

http://docs.python.org/lib/module-platform.html

TJG




More information about the Python-list mailing list