[IronPython] Cross-python development: detecting IronPython

Dan Eloff dan.eloff at gmail.com
Sat Nov 8 23:18:45 CET 2008


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 <oripel at gmail.com> 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 for abilities instead of platforms, but
> sometimes it's inevitable.
>
> Thanks, orip.
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



More information about the Ironpython-users mailing list