Julio, you can't use open from DTML. Because DTML is meant to be used by "untrusted" users, it doesn't expose "open". You'll need to use an external method. julio dinis wrote:
Hi all,
I keep getting an attribute error while using "_.open(file)". Is this built-in function available in "zope's namespace"? Or can I only use it in external methods?
Thanks,
JĂșlio ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
_______________________________________________ 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 )
-- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org