You are not logged in Log in Join
You are here: Home » Members » comlounge » module for typechecking in Python Scripts

Log in
Name

Password

 
 

Folder icon module for typechecking in Python Scripts

this products exposed a module with two functions to Python Scripts in order to be able to compare two types.

Installation

extract the archive in your Products/ folder.

Usage

Example:

    from Products.TypeCheck.typecheck import compare_types,typename

    return compare_types('string',3)

so it will compare whether both objects have the same type and return true or false accordingly. (something like type(a)==type(b))

 Title   Type   Size   Modified   Status 
 module for comparing types in Python Scripts Edit object Software Release   2003-03-02 published