You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Processing Python mode is based on Python 2 that can't handle non-ascii identifiers (names for variables, functions and etc.).
But you can have Unicode strings using the u prefix like this: print(u'Bösendorfer') .
I must warn you that Python mode is very precarious on Processing 4.X, it will mostly fail silently, unable to offer even the basic error messages, like NameError or TypeError. If you really want to use it, stick to Processing 3.5.4.
You could try https://py5coding.org, an actively maintained Python + Processing framework that that is based on Python 3!
If you input something like this in the IDE, the script will halt with a misleading error message about a missing parenthesis:
Additionally, if you print a string with non-ascii characters, the console displays them wrongly:
Tested on MacOS Monterey 12.5, Processing 4.3
The text was updated successfully, but these errors were encountered: