[Zope] data type

George tesseris at gmail.com
Mon Jun 19 08:26:15 EDT 2006


On 6/19/06, Andreas Jung <lists at zopyx.com> wrote:
>
>
>
> --On 19. Juni 2006 15:11:42 +0300 George <tesseris at gmail.com> wrote:
>
> > How can I find a variable's data type in dtml?
> >
> > Sorry if it's sth obvious, thx in advance!
>
>
> There is only the same_type() method available. Perhaps instance() but
> you can't use the type() method of Python for security reasons.
> The Zope Book should explain the usage of same_type().
>
> -aj


OK, perfect! I have done it before, but  bad memory :)

Thx for your quick response!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060619/b429021a/attachment.htm


More information about the Zope mailing list