You should post an example of what you're trying to achieve Anyway you don't need the '_' to call a DTML method from a Python script. If you want to call 'standard_html_header', for example, try: print context.standard_html_header(context, context.REQUEST) return printed Ausum ----- Original Message ----- From: Russell Fine To: zope@zope.org Sent: Thursday, April 15, 2004 11:49 AM Subject: [Zope] How do I access DTML namespaces from a script that calls ascript ? I am having a small problem understanding the DTML namespace and context objects. I'm calling a python script object from within DTML. Within the script object, I have "_" set to the DTML namespace so that I can access any object within the request object (and the calling DTML). However, when I make a call from within that script to another script, I lose access to "_" and to the acquisition path from the DTML namespace down through the request. How do I carry all this information from call to call inside of python scripts ? Russell Fine _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )