Re: [IronPython] Cross-python development: detecting IronPython

2008-11-08 Thread Dan Eloff
I always use sys.platform in ('cli', 'silverlight') because I do a lot of silverlight stuff, but it depends on your scenario. On Sat, Nov 8, 2008 at 3:44 PM, orip <[EMAIL PROTECTED]> wrote: > I'm sorry if this is a repeat (my search abilities failed me), but > what's the standard way to detect whe

Re: [IronPython] Cross-python development: detecting IronPython

2008-11-08 Thread orip
Thanks! On Nov 8, 10:47 pm, "Curt Hagenlocher" <[EMAIL PROTECTED]> wrote: > >>> import sys > >>> sys.platform > 'cli' > > On Sat, Nov 8, 2008 at 12:44 PM, orip <[EMAIL PROTECTED]> wrote: > > I'm sorry if this is a repeat (my search abilities failed me), but > > what's the standard way to detect wh

Re: [IronPython] Cross-python development: detecting IronPython

2008-11-08 Thread Curt Hagenlocher
>>> import sys >>> sys.platform 'cli' >>> On Sat, Nov 8, 2008 at 12:44 PM, orip <[EMAIL PROTECTED]> wrote: > I'm sorry if this is a repeat (my search abilities failed me), but > what's the standard way to detect whether the current Python platform > is IronPython? > > I usually prefer to check fo

[IronPython] Cross-python development: detecting IronPython

2008-11-08 Thread orip
I'm sorry if this is a repeat (my search abilities failed me), but what's the standard way to detect whether the current Python platform is IronPython? I usually prefer to check for abilities instead of platforms, but sometimes it's inevitable. Thanks, orip. __