identifying operating system
Mahogany Rush
abc at spud.dinkbrain.org
Sat Jun 17 12:20:41 EDT 2000
On Fri, 16 Jun 2000 02:50:44 GMT, Juerg Tschirren <jtschirr at engineering.
uiowa.edu> wrote:
>>
>> Is there a way how I can identify the operating system my Python script
>> is running on (e.g., Linux, Windows, Mac, ...)?
>>
>> Juerg
Python 1.6a2 (#1, May 14 2000, 08:15:17) [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import sys
>>> sys.platform
'sunos5'
More information about the Python-list
mailing list