what is the best way to determine system OS?
Sion Arrowsmith
siona at chiark.greenend.org.uk
Mon Apr 25 10:38:42 EDT 2005
Philippe C. Martin <philippe at philippecmartin.com> wrote:
>How about popen of 'uname -r' ?
os.uname()[2] is probably a better way (ie it doesn't spawning
another process) of getting this information. I don't think it
will help the original poster though (depending on *what* it is
about FC3 which is breaking things) since it only provides the
kernel version.
--
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
More information about the Python-list
mailing list