On Mon, Mar 11, 2013 at 3:19 PM, Vernon D. Cole <vernondcole@...> wrote:
> It took me a while. IronPython is no longer available as a Debian package
> so I had to build it from source. Here's the result:
>> IronPython 2.9.9a0 (18.104.22.168) on Mono 4.0.30319.1 (64-bit)
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import os
>> >>> os.name
>> >>> import sys
>> >>> sys.platform
Indeed the way I suggest checking for Jython if you want to be forward
compatible with future versions of Jython is:
In the future, if you only care about Jython3, I'd probably suggest
Which is 'cpython' for CPython's trunk.