3 Jul
2001
3 Jul
'01
7:45 p.m.
Mate' Sztipanovits writes:
Do you know exactly what import command can i use to include the DTML functions in an external python script? Not sure, I understand your question.
In an External Method, you can import any package/module that is available at all. If you want to create Zope DTML objects (site building, i.e. persistent), you would import "OFS.DTMLMethod/DTMLDocument". If you objects need not be persistent, you could use "DocumentTemplate.DT_String". Dieter