06 2018 档案
摘要:odoo的API: Odoo新API的介绍与应用: odoo新api的实现是借助于python装饰器。新API的装饰器主要有以下几种: model,multi,one,constrains,depends,onchange,returns 约束字段的值,或者字段值不能重复。 例子1: @api.co
阅读全文
摘要:# -*- coding: utf-8 -*- import urllib2,cookielib from bs4 import BeautifulSoup url="http://www.baidu.com" #第一种方法 response1=urllib2.urlopen(url) print response1.getcode() print len(response1.rea...
阅读全文
摘要:widget=”statusbar” 头部状态条标签widget=”email” 电子邮件地址标签widget=”selection” 下拉选择标签widget=”mail_followers” 关注者标签widget=”mail_thread” 消息标签widget=”progressbar” 进
阅读全文
摘要:克隆命令: git clone ssh ://git@git.帐号/文件 查看磁盘:fdisk -l 安装包 终端直接 sudo pip install xlsxwriter
阅读全文