会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
且将新火试新茶
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
36
37
38
39
40
41
42
43
44
···
48
下一页
2017年11月29日
python 对时间操作
摘要: 'date_test':fields.function(_datetime_all,type='datetime', string=u'测试'),函数:形式def _datetime_all(self, cr, uid, ids, field_name, arg, context=None): re
阅读全文
posted @ 2017-11-29 14:02 何双新
阅读(1159)
评论(0)
推荐(0)
2017年11月28日
python 知识2
摘要: 零、 type()函数怎么使用type()的使用方法:type(对象)type()是接收一个对象当做参考,之后反回对象的相应类型。>>>type(1)<type 'int'> #整型>>>type('iplaypython')<type 'str'> #字符串2、type()返回值是什么类型>>>t
阅读全文
posted @ 2017-11-28 10:48 何双新
阅读(197)
评论(0)
推荐(0)
python 知识
摘要: 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 何双新
阅读(227)
评论(0)
推荐(0)
2017年11月20日
虚拟机vbox
摘要: https://www.virtualbox.org/wiki/Linux_Downloads 一直在报内核出错的问题,我尝试了各种方法还是无果,猜测是版本的问题,这里推荐各位安装virtualbox-5.0以上的版本比较好1.到oracle的https://www.virtualbox.org/网
阅读全文
posted @ 2017-11-20 17:12 何双新
阅读(299)
评论(0)
推荐(0)
2017年11月18日
c语言学习5
摘要: break 和 continue之间的区别: 在1000人中,募捐100000元,当达到10万元后结束 break 跳出当前循环,即 是终止循环,continue结束本次循环,不终止循环 #include <studio.h> #define SUM 100000 int main(){ float
阅读全文
posted @ 2017-11-18 08:16 何双新
阅读(253)
评论(0)
推荐(0)
2017年11月16日
C语言学习 例四
摘要: #inlude <studio.h> int main(){ int x,y; sanf("%d",&x); if (x<0) y=-1; else if(x==0)y=0; else y=1; printf("x=%d,y=%d\n",x,y); return 0; } or #include <
阅读全文
posted @ 2017-11-16 12:02 何双新
阅读(285)
评论(0)
推荐(0)
2017年11月14日
c语言第三例
摘要: 标准的输入输出函数: putchar(输出字符) getchar(获取输入字符) printf(格式输出) scanf(格式输入) puts(输出字符串) gets(获取输入字符串) #include <studio.h> #include<math.h> int main(){ double a,
阅读全文
posted @ 2017-11-14 23:28 何双新
阅读(309)
评论(0)
推荐(0)
数据库事务特性
摘要: 数据库事务的四大特性以及事务的隔离级别 本篇讲诉数据库中事务的四大特性(ACID),并且将会详细地说明事务的隔离级别。 如果一个数据库声称支持事务的操作,那么该数据库必须要具备以下四个特性: ⑴ 原子性(Atomicity) 原子性是指事务包含的所有操作要么全部成功,要么全部失败回滚,这和前面两篇博
阅读全文
posted @ 2017-11-14 08:09 何双新
阅读(199)
评论(0)
推荐(0)
2017年11月13日
c语言程序 第二例
摘要: 求5! # include <studio.h> int main(){ int i,t; t=1; i=2; while (i<=5){ t=t*i i=i+1 } printf("%d\n",t); return 0; } 求1-1/2+1/3-1/4+........+1/99-1/100的值
阅读全文
posted @ 2017-11-13 23:27 何双新
阅读(169)
评论(0)
推荐(0)
2017年11月12日
c语言程序设计 第一例子
摘要: #include <studio.h> int main(){ printf("this is dog.\n"); return 0; } studio.h 表示standard input 和 output 的缩写 后缀.h是头文件意思header \n 是换行符 第二例子: #include <
阅读全文
posted @ 2017-11-12 22:41 何双新
阅读(419)
评论(0)
推荐(0)
上一页
1
···
36
37
38
39
40
41
42
43
44
···
48
下一页
公告