Web Browser Pygame Plug-in?
Shane Hathaway
shane at hathawaymix.org
Mon Jul 10 00:53:20 EDT 2006
Gregory PiƱero wrote:
> Shane Wrote:
>> Ah, so you also want to distribute untrusted Python code. That's fairly
>> hard. There's a discussion about it on Python-Dev right now.
>
> Well, I want to write a game in Pygame, and people can just go to my
> website and play it within their browser. I guess that would be
> untrusted code?
If they download your code with the plugin, your code is trusted. If
they download it separately in a browser session, it's untrusted. So
one way to get started quickly is to just mix your code with the plugin,
and not attempt to enable execution of untrusted code.
Shane
More information about the Python-list
mailing list