modifying source at runtime - jython case

Jan Gregor gregor.jan at NOSPAM.quick.cz
Tue Nov 8 08:19:17 CET 2005


Kent Johnson wrote:
> 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

Yes, this is right way. And it's working.

Thanks,
Jan



More information about the Python-list mailing list