On 6/19/06, Andreas Jung <[EMAIL PROTECTED]> wrote:


--On 19. Juni 2006 15:11:42 +0300 George <[EMAIL PROTECTED]> 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!






_______________________________________________
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 )

Reply via email to