If you’re using the new script editor it might be related to running in CPython. If possible, try running the code in IronPython instead. Or in the EditPythonScript.
If you’re using the new script editor it might be related to running in CPython. If possible, try running the code in IronPython instead. Or in the EditPythonScript.