[Zope] use path function on a python script

Andreas Jung lists at zopyx.com
Wed Oct 8 05:17:26 EDT 2008


Am 08.10.2008 4:46 Uhr, Garito schrieb:
> Hi!
> How can I import the TALES funcion path on a python script?
>
> I would like to use the path function on a python script. The same path
> function I can use on page templates
>
> Imagine this TALES expression: python: path("a/concrete/path")
>
> Can I use it on a python script?

Why can't you use acquisition or traversal?

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20081008/4fae73ea/attachment.vcf 


More information about the Zope mailing list