摘要: 零、 type()函数怎么使用type()的使用方法:type(对象)type()是接收一个对象当做参考,之后反回对象的相应类型。>>>type(1)<type 'int'> #整型>>>type('iplaypython')<type 'str'> #字符串2、type()返回值是什么类型>>>t 阅读全文
posted @ 2017-11-28 10:48 何双新 阅读(179) 评论(0) 推荐(0) 编辑
摘要: def action_cancel_sale_order(self,cr,uid,ids,context=None):self.message_post(cr, uid, ids, body=u"完结", context=context) def on_change_cust_order(self, 阅读全文
posted @ 2017-11-28 09:33 何双新 阅读(211) 评论(0) 推荐(0) 编辑