Jean Brouwers wrote:
Robin,
This would be MOST interesting: a wxPython browser plugin.
Just curious, can you share some more of your thoughts
(or dreams) on this? Like, what would be the runtime
environment and the underlying gui kit.
wxPyRE == wxPython Runtime Environment
* A single install Python and wxPython package that can run any wxPython application.
* Consists of a slightly custom pythonw.exe, (wxpyre.exe,) the standard Python DLLs, the standard library as a PYZ (zip) file, the wxPython extension modules and .py files (as a PYZ) and probably the same for some set of other common Python packages.
* Should be able to coexist with a standard Python install.
* Has file associations so it can be used to execute standalone .py files (but with some other file extension so there is no conflict) or PYZ application bundles.
* Can be launched from a browser to run downloaded PYZ bundles.
* Can download and cache apps located on Net servers (like Java WebStart). Managed by a simple XML file that is downloaded initially and contains info about the app: version, URL of the PYZ,description, an icon, etc. It can tell if the app needs updated based on fetching this XML file. Manages installing a Start Menu icon for the app, uninstalling, etc. Maybe this same mechanism can also be used to update the wxPyRE itself, loading other Python packages in PYZ format, etc.
* Includes a bowser plugin that uses the wxPyRE to run wxPython applets on the browser window.
* I see the biggest use of this to be on Windows machines, but it could probably be done for the other platforms too.
The only problem (besides the time to do it) is that the Python resctricted execution modules have been removed and so there is no way to provide a "safe" execution environment for applets and webstart-style apps...
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!