1

Is there any way to get Python to run on a web browser, other than silverlight?

I'm pretty sure not, but it never hurts to ask (usually).

Jochen Ritzel
108k33 gold badges205 silver badges196 bronze badges
asked Feb 20, 2011 at 22:02
7
  • 2
    Silverlight runs on Python??? I might have overslept something interesting. Commented Feb 20, 2011 at 22:04
  • 1
    not sure what exactly you want to do, but this may be useful developers.slashdot.org/story/09/09/19/1345236/… Commented Feb 20, 2011 at 22:07
  • 1
    There is a python implementation that runs inside silverlight (ironpython). See voidspace.org.uk/ironpython/silverlight/index.shtml Commented Feb 20, 2011 at 22:07
  • @Nikita: No, but Python runs on Silverlight. Commented Feb 20, 2011 at 22:18
  • @Lennart I think the question was edited, there was 'server' instead of 'web browser' initially. Commented Feb 20, 2011 at 22:21

5 Answers 5

2

Haven't tried it myself but Pyjamas (http://pyjs.org/) claims to contain a Python-to-Javascript compiler. Not exactly what you're asking for but might be worth a look.

answered Feb 20, 2011 at 22:11
Sign up to request clarification or add additional context in comments.

Comments

1

Maybe not exactly what you asked, but close enough: Pyjamas -- Python-to-JavaScript compiler

answered Feb 20, 2011 at 22:11

Comments

1

skulpt is an interesting new project

answered Mar 21, 2012 at 13:35

Comments

0

Short of writing your own browser plugin — no.

answered Feb 20, 2011 at 22:05

Comments

0

There's an open-source project called emscripten that converts C/C++ to JavaScript. The have a version of CPython converted with this tool that runs in the browser as one of their demos.

Probably not something you actually want to do, for a number of reasons, but... it's technically possible. Any Turing-complete language can be converted to any other, after all, and if the languages are popular enough, someone, somewhere, has probably written code to do it.

answered Feb 20, 2011 at 23:47

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.