On 4/11/06, Takahashi, Michael [EMAIL PROTECTED] wrote:
I'm trying to write a function that checks to see if the current object is
a 'Folder'.
several ways:
isinstance(object, Folder) # does not work in python scripts
or
object.meta_type == Folder # does work in python scripts
or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lennart Regebro wrote:
On 4/11/06, Takahashi, Michael [EMAIL PROTECTED] wrote:
I'm trying to write a function that checks to see if the current object is
a 'Folder'.
several ways:
isinstance(object, Folder) # does not work in python