会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lecong-Lee
博客园
首页
新随笔
联系
订阅
管理
2016年2月18日
python流程控制语法
摘要: 1.字典遍历 d = {1:11,2:22} for x in d: print d[x] for k,v in d.items(): print k print v
阅读全文
posted @ 2016-02-18 00:12 lecong-Lee
阅读(140)
评论(0)
推荐(0)
2016年2月16日
python语法学习
摘要: 1.整除与幂运算 >>> 5.6//2 2.0 >>> 2**3 8 >>> 2.位移与异或算法 >>> 1<<1 2 >>> 1>>1 0 >>> 1^2 3.字符串 >>> str="abcde" >>> str[1:4] 'bcd' >>> str[2:] 'cde' >>> str[::1]
阅读全文
posted @ 2016-02-16 00:12 lecong-Lee
阅读(331)
评论(0)
推荐(0)
2015年9月30日
iOS拼接json字符串的两种方式
摘要: 两种json字符串拼接的方法如下:+ (NSString *)UIUtilsFomateJsonWithDictionary:(NSDictionary *)dic { NSArray *keys = [dic allKeys]; NSString *string = [NSString str...
阅读全文
posted @ 2015-09-30 11:49 lecong-Lee
阅读(2087)
评论(0)
推荐(0)
公告
点击右上角即可分享