Forum Discussion
2 Replies
- akidaveEmployee
The script runs in the context of the JVM, so it is a Jython script rather than a pure python script. Additional python dependencies cannot be installed. Python standard library functions can be used. In this case, use urllib2 instead of the requests library. For more complex use cases, external Java libraries can be loaded for use from the Jython script. See this post for an example.
- ptaylorEmployee
It is possible to configure a path from which to load other libraries for python, though be aware that not all python libraries will work with Jython. See this post: