Another question: Is it possible to call python methods from ZPT, which are defined in a python script? I have several scripts and would like to hold them in 1 script-Object in Zope, as they all belong to the login-process.
A Python script is really a method in itself. You can stick a bunch of them in a folder and call them like 'folder.somescript()' if you want to simulate a module for organizational reasons.
As said above, I don't need them anymore, but that solution is not as beautiful as a real module with methods.
They're pretty much the same thing. A folder is essentially the Zope-application analogue of a module: a collection of methods. True, you can't have folder-level code, but you can contain types of methods other than Python: ZPT, SQL, Perl, or whatnot, and call them all similarly. Of course, in Zope3 we will (probably!) have a structure just like you describe. But for the moment, that's neither here nor there. --jcc