0

I have a lot of JavaScript I need to write. I can do that, but I have some Python already which does something similar. I'd much prefer to adapt that and have it run within the browser.

There's the C-based reference implementation, and there's Jython in Java. Is there a JavaScript implementation along the same lines?

I have looked, but it may be that my google-fu has failed me. And it seems like something that ought to exist. Have I missed it?

2
  • 2
    Something like realpython.com/brython-python-in-browser ? Commented Nov 13, 2021 at 22:43
  • 1
    This question doesn't deserve to be closed IMHO. The OP isn't looking for recommendations or opinions on libraries, but is more asking if browsers can run Python - which is a pretty specific question Commented Nov 13, 2021 at 23:06

1 Answer 1

2

You may be looking for something likeWebAssembly, used for running non JavaScript code in the browser. pyodide would be a good starting point

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.