摘要:
日志 阅读全文
posted @ 2015-07-02 22:54
nick_huang
阅读(304)
评论(0)
推荐(0)
摘要:
ini文件 阅读全文
posted @ 2015-07-02 22:46
nick_huang
阅读(315)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python import json; dict = {}; dict['name'] = 'nick'; dict['say'] = 'hello world...'; dict['age'] = '20'; dict_json = repr(dict); print dict_json; dict_json_2 = json.dum... 阅读全文
posted @ 2015-07-02 22:42
nick_huang
阅读(319)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python import logging; a = 'abc'; print 'Y' if isinstance(a, str) else 'N'; 阅读全文
posted @ 2015-07-02 22:30
nick_huang
阅读(303)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python a = 'abc'; print isinstance(a, str); 阅读全文
posted @ 2015-07-02 22:28
nick_huang
阅读(216)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python def setConfig(): hello = 'world'; print 'The value has been setted.'; return hello; hello_cp = setConfig(); print 'print outside : ' + hello_cp; ... 阅读全文
posted @ 2015-07-02 22:26
nick_huang
阅读(286)
评论(0)
推荐(0)
摘要:
select insert update delete 阅读全文
posted @ 2015-07-02 22:15
nick_huang
阅读(442)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python final_list = ('a', 1, 'b', 2, 'c', 3); print final_list[0]; print final_list[1:3]; print final_list * 2; print final_list + final_list + final_list; # 原组不能被重新赋值 #... 阅读全文
posted @ 2015-07-02 22:11
nick_huang
阅读(276)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python list = ['a', 1, 'b', 2, 'c', 3]; print list[0]; print list[1:3]; print list * 2; print list + list + list; # 遍历 print('for each method 1 : '); for data in list: ... 阅读全文
posted @ 2015-07-02 22:10
nick_huang
阅读(795)
评论(0)
推荐(0)
摘要:
#coding=utf-8 #!/usr/bin/python str1 = None; str2 = ''; str3 = ' '; if str1 == None : print("str1 is none."); else : print("str1 is not none."); if str2 == None : print("str2 is none... 阅读全文
posted @ 2015-07-02 22:07
nick_huang
阅读(398)
评论(0)
推荐(0)
摘要:
Right Wrong 阅读全文
posted @ 2015-07-02 21:59
nick_huang
阅读(208)
评论(0)
推荐(0)
摘要:
001.print_hello_world 002.print_chinese 阅读全文
posted @ 2015-07-02 21:58
nick_huang
阅读(205)
评论(0)
推荐(0)
摘要:
>参考de优秀文章 写MySQL存储过程实现动态执行SQL Dynamic cursor in stored procedure MySQL通过视图(或临时表)实现动态SQL(游标)。 因在实现中,需要通过DDL语句创建视图(或临时表)、删除视图(或临时表),故,只适合在一些一次性的脚本中使用,比如 阅读全文
posted @ 2015-07-02 11:36
nick_huang
阅读(8478)
评论(0)
推荐(0)

浙公网安备 33010602011771号