I’ve only ever had luck with version 1.5 in IronPython. Here’s a recent example:
And some older ones for further context: