modifying source at runtime - jython case

Kent Johnson kent37 at tds.net
Sun Nov 6 13:01:37 EST 2005


Jan Gregor wrote:
> my typical scenario is that my swing application is running, and i see
> some error or chance for improvement - modify sources of app, stop and run
> application again.
> so task is to reload class defitions (from source files) and modify also
> existing instances (their methods).

Ok, I think my first reply completely missed the mark. IIUC what you want is hard. This recipe might help:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164

Kent



More information about the Python-list mailing list