An uname - like call?

Stewart Wilson wilson at nortelnetworks.com
Wed May 19 13:52:39 EDT 1999


Szilveszter Juhos wrote:
> 
> On Wed, 19 May 1999, Andrew Csillag wrote:
> 
> > combination of sys.copyright (the second line), sys.platform (the linux2
> 
> Thanks! Furthermore os.uname() similarly good -as others wrote-, simply
> I was careless again in documentation reading :-/

os.uname() is probably _better_.  sys.platform() give the platform for
which python was compiled, not the platform on which it is running.
(No -- they don't have to be the same).

Cheers,
--Stewart

-- 
Stewart Wilson
wilson at nortelnetworks.com
Not speaking for nortel




More information about the Python-list mailing list