Gregory Piñero wrote: > I was just idley curious on what it would take to make a web plug-in > for Pygame. I'm picturing it working the way my browser currently > shows flash games. Is such an idea even possible? Has anyone > attempted this?
I once played with a similar idea. Yes, it's possible, although platform differences make the idea non-trivial. Specifically, I ran into difficulty when I discovered that it's not easy on Linux to load a dynamic library (such as libpython.so) which in turn loads other dynamic libraries (such as native Python modules), since the library search path is not modifiable at runtime. A possible workaround is to launch a separate process which projects into the browser window. I don't know what surprises may pop up on other platforms. Shane -- http://mail.python.org/mailman/listinfo/python-list