views:

328

answers:

3

I'm trying to see how I can get a python script to run in the web browser. Does anyone know if this is possible or would I need to make a plugin?

I'm looking for something that would work like:

<embed type="application/x-python" src="myscript.py"></embed>

Thanks, Joe

+3  A: 

I don't think any mainstream browser supports this by default so you'd need to write a plugin.

There are people that have tried this before though. For example, Iron Python + Silverlight.

Mark Byers
I think using silverlight and python will be a little too much. I'm trying to make this lightweight. Thanks anyway :)
Joe Simpson
A: 

pyjamas might be of interest.

Mark
it doesn't do udp... so i can't use this. thanks anyway :)
Joe Simpson
A: 

Thank you very much to everyone who contributed hugs to all

I've decided that i'll just make a netscape-based plugin for python (source code and all that stuff will be availble when i've done it for everyone)

Joe

Joe Simpson