[Zope] compiling zope source

Michel Pelletier michel@digicool.com
Tue, 21 Dec 1999 16:17:14 -0500


> -----Original Message-----
> From: Terry Kerr [mailto:terry.kerr@eng.monash.edu.au]
> Sent: Monday, December 20, 1999 10:52 PM
> To: zope@zope.org
> Subject: [Zope] compiling zope source
> 
> 
> Hi,
> 
> I made changes to the OFS/DTMLDocument.py file...actually I 
> changed the
> default text that is put into a newly created DTML Document.  How do I
> now get my change to take effect.  I assume I need to compile the
> DTMLDocument.py to DTMLDocument.pyc or something?  How do I do this?

Just restart Zope.  Python will byte-compile the .py file for you.

-Michel