[Zope] type in python scripts

Sam Gendler sgendler at everesttech.net
Tue May 4 15:46:08 EDT 2004

How does one check the type of a variable in a python script?  I get a 
global name error when I try to use the type method.

I am just trying to write a generic python script which iterates over 
all members of form and generates hidden input tags for each, 
preserving the type, so I have to check the type of each form value in 
order to generate the correct field name.


More information about the Zope mailing list