I’m trying to import the processing.video and it doesn’t seem to be working. It raises an exception stating ‘This sketch requires the “video” library.’ Where/how do I get it?
Hi @cupofcalculus!
Are you trying to use Processing.py from the command line or in an external IDE?
I’ve heard that using some built-in libraries in these circumstaces can be hard.
But in the Processing IDE, the best way to import Java libraries is to choose from the Sketch menu.
Sketch > Import Library> Video that will get you this line of code:
add_library('video')
You will use import statements for the Python standard library and pure Python modules mostly (note that IDE tabs work like modules in Python mode).
Well that was just TOO easy.