--On 1. Dezember 2005 17:00:09 +0100 Martijn Pieters <[EMAIL PROTECTED]> wrote:

PythonScripts are for *scripting* not for implementing complex
logic and for programming tasks that require classes. PythonScripts don't
provide full Python functionality that why were are talking of *Restriced
Python*. Consider writing your functionality as Python product.

And sometimes a supporting class or function makes such code all the
simpler. Knowing how to enable Python code to be imported into scripts
is an essential tool.

Sure you can but you shouldn't..you start with one class and at the end you have an application with tons of such code....you can program that way but
you shouldn't :-)


Attachment: pgpzjVZZc45hF.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to