[Zope] include/import module

Helmut Toplitzer helmut@ifit.uni-klu.ac.at
Wed, 29 Mar 2000 10:45:18 +0200


Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------4873869A39A2EFB3CD7E3376
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

 <dtml-if expr="_.string.lower(somestring)=='supplier'">
 
 </dtml-if>

should work

Allen Wallis schrieb:
> 
> Hi,
> How do I import a module - I've been reading the DTML guide, and I would
> like to use some of the functions described in the string module, but
> how do use them - do I have to import the module (if so, how), or what
> else. What I want to use is the following:
> <dtml-if expr="lower(somestring)=='supplier'">
> 
> </dtml-if>
> where lower is defined in the string module. I've also tried
> string.lower(...) but that didn't seem to work.
> 
> thanks
> Allen
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
--------------4873869A39A2EFB3CD7E3376
Content-Type: text/x-vcard; charset=us-ascii;
 name="helmut.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Visitenkarte für Helmut Toplitzer
Content-Disposition: attachment;
 filename="helmut.vcf"

begin:vcard 
n:Toplitzer;Helmut
tel;fax:++43(0)463/2700-505
tel;work:++43(0)463/2700-6247
x-mozilla-html:FALSE
url:http://www.ifi.uni-klu.ac.at
org:Universität Klagenfurt;Institut für Wirtschaftsinformatik und Anwendungssysteme - Praktische Informatik
adr:;;Universitätsstrasse 65-67;Klagenfurt;Kaernten;A-9020;Austria
version:2.1
email;internet:helmut@ifit.uni-klu.ac.at
fn:Helmut Toplitzer
end:vcard

--------------4873869A39A2EFB3CD7E3376--