[Zope] Using the Namespace binding
   
    Chris Withers
     
    chrisw@nipltd.com
       
    Tue, 5 Jun 2001 18:42:40 +0100
    
    
  
> script?  From what I've gleamed from the Zope book, I can set the
> Namespace binding for the script to expose the DTML namespace, but I'm
> having problems accessing it.  
> 
> I've tried _.varname, which gave me an attribute error and _varname is
> an illegal variable name.  
If you've successfully bound the namespace to _, then I believe you want:
_['varname']
cheers,
Chris . o O (Oh if only _ had a 'get' method with a default option)