python COM functions code example Example: how to use def in python def functionName(variable): //function content