[Zope] Checking variable types in Python Script

Johan Carlsson [Torped] johanc@torped.se
Mon, 09 Sep 2002 17:51:53 +0200


Hi,
How do I use type() in Python scripts.
It seems that type() is restricted code (why?)
is there any special replacement for type checking?

Regards,
Johan Carlsson

(It's hard living in a dynamically type world if you can check for type :-)


--=20
Torped Strategi och Kommunikation AB
Johan Carlsson
johanc@torped.se

Mail:
Birkagatan 9
SE-113 36  Stockholm
Sweden

Visit:
V=E4stmannagatan 67, Stockholm, Sweden

Phone +46-(0)8-32 31 23
Fax +46-(0)8-32 31 83
Mobil +46-(0)70-558 25 24
http://www.torped.se
http://www.easypublisher.com