On Friday 08 June 2001 10:46, Mike Orr wrote:
> On Fri, Jun 08, 2001 at 01:31:24PM -0400, Geoff Talvola wrote:
> > >         Write a template *.tmpl
> > >         Run TScompile, which creates *.py servlets. 
> > > Each servlet contains
> >
> > But I would
> > strongly urge you to reconsider this.  Having no
> > separate compilation step is one of the really nice
> > things about Python.
>

> The compilation is just for convenience if you already
> have a number of templates (or HTML files).  It automates
> the process of wrapping them into class modules. 
> Otherwise you'd have to do each one by hand.
> TScompile is a one-time thing.  Once you've started
> customizing the modules, you mustn't run TScompile again
> or it will overwrite your changes.

Actually I intended .tmpl files to be the definitive source files.
You always work with them and the .py files are always 
autogenerated.  Of course this is a matter of preference.
This way all the python wrapper code is hidden from the 
template-designers who might be non-programmers.

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to