[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygames on a webpage




On Jan 1, 2005, at 1:39 PM, andrew baker wrote:

On Sat, 1 Jan 2005 16:58:00 +0000 (GMT), David Holland
<davholla2002@xxxxxxxxxxx> wrote:
I know that there are various games that are written
in Java that can be played from a webpage ie :-
http://www.darkfish.com/checkers/index.html
Is it possible to do the same with python games ?
And are there any tutorials on how to do it ?

Well, Guido van Rossum actually did create a browser in Python called
Grail that can run Python apps, however there don't seem to be any
other browsers capable of this.  From what I gather, it is more
difficult to sandbox Python than Java or Flash.  Anyone who can create
a SECURE plug-in to run Python in a browser would probably be revered
as a saint.

More like a miracle worker. Python is NOT SECURE, and it would require a HUGE amount of effort to audit the runtime and make it secure. You'd probably be better off starting from scratch.


You could embed Jython in a Java applet on a web page, and that would be as secure as Java is. Of course, you wouldn't be able to use pygame, because it's not pure Python.

-bob