Python libraries in Processing Python mode?

Hi how can you add a Python library to Processing Python mode?

Py.Processing.org/tutorials/python-jython-java/

1 Like

You can place the library in your sketch directory, then use a standard Python import.

I usually go to https://pypi.org, find the package I’m after, then download the zip version.

Note that you cannot use Python libraries with C extensions, such as Numpy.

3 Likes