Javascript execute python code on a console

0

Hello, I need to run a python from a Javascript, opening the python console and sending a variable.

It would be very simple. In Javascript:

ExecutarPython(script.py,variavel=valor) 

So opening a console in python script.py:

ValorJavascript=PegarVariavelDoJavascript()['variavel'] 
print( ValorJavascript) 
    
asked by anonymous 22.05.2017 / 13:17

0 answers