title: Running Python modules in Python, from Jython
body: <p>I have been dropped into a complicated environment, where I am working with a Python library but everything else we have is in Java. We want to be able to access and use the Python library from Java, so we started researching and using Jython.</p>
  
  <p>Jython is pretty great, and we are importing the Jython Interpreter into our Java program so that we can access most of the library. However, Jython doesn't quite support everything, and there's not much we can do to get around that. All the paths are set up correctly and there are some modules that we just can't import.</p>
  
  <p>So assuming that there's nothing else we can do to make the Python library Jython-compatible, the next idea is to somehow invoke Python from the Jython interpreter, and make Python run a module (written in Python). Ideally, we would be able to simply import the module using Python, and then call all the methods using Jython (but have them executed in Python).</p>
  
  <p>Does anyone know if this is possible at all, and if so how?</p>