问题
How to get IronPython compiler version at runtime (interactive session)?
回答1:
You can find out the current version via the sys module:
>>> import sys
>>> sys.version
'2.4.0 (IronPython 1.1.2 (1.1.2) on .NET 2.0.50727.3603)'
来源:https://stackoverflow.com/questions/1643974/ironpython-compiler-version-at-runtime