[IronPython] Cross-python development: detecting IronPython

Curt Hagenlocher curt at hagenlocher.org
Sat Nov 8 21:47:35 CET 2008


>>> import sys
>>> sys.platform
'cli'
>>>

On Sat, Nov 8, 2008 at 12: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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081108/2fefd194/attachment.html>


More information about the Ironpython-users mailing list