[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Running different codes for different systems
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 5 Jan 2011 14:42:45 +0200
On Wed, Jan 5, 2011 at 2:39 PM, luciano de souza <luchyanus@gmail.com> wrote:
> I imagined I would get it with a command like "os.getenv('system') ==
> 'windows'", but there is no a environment variable called 'system'.
>
> What do you suggest?
COMSPEC is Windows specific, I think. Another candidates are PATHEXT
and HOMEDRIVE.
steve d.