Forum Discussion
3 Replies
The Script snap uses the Jython 2.7.2 engine. You can search online to find out which packages are provided with the engine, but you can also import other packages.
Yes, if it’s Python 2.x compatible and doesn’t do anything too weird.
It does require some special configuration on the plex node though. You create a file called
.jython
in the home directory of the user that the jcc runs as. In that file you would definepython.path=
/the/path/to/the/root/of/your/python/library/collectionfor example, on my system it would be
python.path=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
Then in your Script source, you can just import any of the packages that are present under that path.