wasm-demo/demo/ermis-f/python_m/cur/1825

24 lines
672 B
Plaintext

From: jblaine at shell2.shore.net (Jeff Blaine)
Date: Wed, 19 May 1999 16:36:15 GMT
Subject: An uname - like call?
References: <Pine.SOL.3.91-941213.990519170229.25586F-100000@dust0.dur.ac.uk>
Message-ID: <slrn7k5q3v.ee8.jblaine@shell2.shore.net>
X-UID: 1825
>elvira:~(ndgy)python
>Python 1.5.1 (#1, Jan 20 1999, 20:01:05) [GCC egcs-2.91.60 19981201 (e
>on linux2
>Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>>
>
>How can I get this string in a script? It should be annoying to fork a
>os.system("uname -a") since the OS ID is already in the interpreter
>somehow.
import sys
print sys.version