摘要: json串就是字符串,json串里必须是双引号 阅读全文
posted @ 2018-01-15 23:43 飞鸟与新月 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 1 import os 2 print(os.getcwd())#取当前工作目录,绝对路径 3 4 print(os.chdir("../"))#更改当前目录,.代表当前目录,..代表上一级目录 5 print(os,getcwd())#获取当前工作目录 6 7 print(os.curdir)#当前目录,相对路径 8 print(os.pardir)#父目录,相对路径 9... 阅读全文
posted @ 2018-01-15 23:25 飞鸟与新月 阅读(875) 评论(0) 推荐(0) 编辑
摘要: 函数即变量: map和filter: map: filter: 阅读全文
posted @ 2018-01-15 16:34 飞鸟与新月 阅读(880) 评论(0) 推荐(0) 编辑