上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 55 下一页
摘要: 元组与列表一样,也是一样序列,唯一的不同是元组不能修改 如果用逗号分隔了一些值,那么你就自动创建了元组 >>> 3 * (40 + 2)126>>> 3 * (40 + 2,)(42, 42, 42) tuple 以一个序列作为参数并把它转换为元组 >>> tuple([1,2,3])(1, 2, 阅读全文
posted @ 2019-06-24 15:23 嵌入式实操 阅读(127) 评论(0) 推荐(0) 编辑
摘要: list('hello')['h', 'e', 'l', 'l', 'o'] 操作方法: 1.改变例表:元素赋值 x = [1, 1, 1]x [1] = 2x[1, 2, 1] 2. 删除元素 names = ['tu','dong', 'nana', 'test']names['tu', 'do 阅读全文
posted @ 2019-06-24 15:08 嵌入式实操 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 通用序列操作:索引:greeting=hellogreeting[0]分片:number[1,2,3,4,5,6]number[3:6]number[3:6:1]序列相加:[1,2,3] + [4,5,6][1,2,3,4,5,6]乘法'p' * 5'ppppp'成员次格:permissions = 阅读全文
posted @ 2019-06-24 14:52 嵌入式实操 阅读(212) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-06-20 15:44 嵌入式实操 阅读(3) 评论(0) 推荐(0) 编辑
摘要: reference: https://lwn.net/Articles/531114/ 阅读全文
posted @ 2019-06-13 14:07 嵌入式实操 阅读(150) 评论(0) 推荐(0) 编辑
摘要: learning express error handle code: result: 阅读全文
posted @ 2019-06-13 11:30 嵌入式实操 阅读(74) 评论(0) 推荐(0) 编辑
摘要: learning express error handle code: result: 阅读全文
posted @ 2019-06-13 11:23 嵌入式实操 阅读(94) 评论(0) 推荐(0) 编辑
摘要: learning express view engine function views/index.pug result: 阅读全文
posted @ 2019-06-13 11:14 嵌入式实操 阅读(72) 评论(0) 推荐(0) 编辑
摘要: learning express.Router() code: result: 阅读全文
posted @ 2019-06-13 10:55 嵌入式实操 阅读(98) 评论(0) 推荐(0) 编辑
摘要: when develop expree meet some errors, we show how to solve Error: No default engine was specified and no extension was provided. How to solve: app.set 阅读全文
posted @ 2019-06-13 10:23 嵌入式实操 阅读(187) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 55 下一页