Medusa: Reloading Python Source

Andrew Bennetts andrew-pythonlist at puzzling.org
Sun May 25 21:38:50 EDT 2003


On Sun, May 25, 2003 at 08:07:54AM +0200, Thomas Guettler wrote:
> Hi!
> 
> If you are developing applications with medusa, you need to restart it
> every time you change your source code. It would be nice if the server
> would detect changes automatically.
> 
> I tried to apply the "magic" that is done by zope's refresh, but
> failed.
> 
> Can twisted do this?

Twisted does have some code to facilitate this; see the
twisted.python.rebuild module: 

    http://twistedmatrix.com/documents/TwistedDocs/current/api/public/twisted.python.rebuild.html

-Andrew.






More information about the Python-list mailing list