[Date Prev][Date Next][Thread Prev][Thread Next]
- 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 <firstname.lastname@example.org> 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