Advertisement
caglartoklu

Is IronPython?

Apr 22nd, 2011
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import sys
  2. def is_ironpython():
  3.     """
  4.    If the platform is IronPython, this function returns True, False otherwise.
  5.    """
  6.     result = False
  7.     if sys.platform == "cli":
  8.         result = True
  9.     return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement