Llamar a la función Python desde el código Javascript

Me gustaría llamar a unPython función desdeJavascript código, porque no hay una alternativa enJavascript por hacer lo que quiero es posible? ¿Podría ajustar el siguiente fragmento de código para trabajar?

Parte de Javascript:

var tag = document.getElementsByTagName("p")[0];
text = tag.innerHTML;
// Here I would like to call the Python interpreter with Python function
arrOfStrings = openSomehowPythonInterpreter("~/pythoncode.py", "processParagraph(text)");

~/pythoncode.py

contiene funciones que utilizan bibliotecas avanzadas que no tienen un equivalente de escritura fácil en Javascript

import nltk # is not in Javascript
def processParagraph(text):
  ...
  nltk calls
  ...
  return lst # returns a list of strings (will be converted to `Javascript` array)