1 Resposta
0
Browsers can not run python only javascript, you can try to combine react with django to simulate the outcome. Javascript will send data to the server, server will run python code and send back a response with the outcome, React will update the virtual dom without reloading the whole page