PYTHON print Format ou F string?

Hello,

My python code, works great from the script editor using f string, but when loading the file from rhino (a button) only the old type “format” is allowed…

Is it a bug, or something that is actually in solving process?

Thanks

By default, -RunPythonScript will run IronPython 2. To force Python 3, put this at the top of the script:

#! python 3

4 Likes

Thank you very much for your quick answer, it works like a charm now :slight_smile:

1 Like