Re: how to determine Operating System in Use?

2006-12-13 Thread Ian F. Hood
excellent, ty <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > On Dec 13, 6:32 pm, "Ian F. Hood" <[EMAIL PROTECTED]> wrote: >> Hi >> In typically windows environments I have used: >> if 'Windows' in os.environ[

Re: how to determine Operating System in Use?

2006-12-13 Thread Ian F. Hood
running on. "Paul Watson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ian F. Hood wrote: >> Hi >> In typically windows environments I have used: >> if 'Windows' in os.environ['OS']... >> to prove it, but now I need

how to determine Operating System in Use?

2006-12-13 Thread Ian F. Hood
Hi In typically windows environments I have used: if 'Windows' in os.environ['OS']... to prove it, but now I need to properly support different environments. To do so I must accurately determine what system the python instance is running on (linux, win, mac, etc). Is there a best practises way