It’s more of a minor annoyance, but it would be nice if IronPython didn’t have strange caveats like this.
Hi @filmdp,
Formatted string literals are a Python 3.6 feature. Rhino.Python, which uses IronPython, is based on Python 2.7. Here is what’s available for string formatting in IronPython.
https://ironpython-test.readthedocs.io/en/latest/library/string.html#formatspec
Hope this helps.
– Dale
1 Like
Thanks Dale,
I hadn’t realized that IronPython 3 was still in some kind of alpha! Moved to Python 3 eight years ago and I was late to the party.
1 Like