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.

If I already had a set of modules and was adding a page, I would not make
a .tmpl file and run TScompile on it.  Instead, I would copy an existing
module and modify it.  

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

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

Reply via email to