摘要: 输出 阅读全文
posted @ 2020-01-07 21:19 anobscureretreat 阅读(885) 评论(0) 推荐(0)
摘要: index.html server 运行后,打开浏览器 阅读全文
posted @ 2020-01-07 21:08 anobscureretreat 阅读(200) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-07 19:22 anobscureretreat 阅读(747) 评论(0) 推荐(0)
摘要: macname@bogon ~ % echo '{"json": "obj"}' | python3.7 -m json.tool { "json": "obj" } 阅读全文
posted @ 2020-01-07 17:30 anobscureretreat 阅读(574) 评论(0) 推荐(0)
摘要: macname@bogon testenv3.7 % cat file.json { "code": 200, "msg": "请求成功", "data": { "username": "abc", "mobile": "18611751121" }, "task":[{ "username": "abc1", "mobile": "1861175 阅读全文
posted @ 2020-01-07 17:27 anobscureretreat 阅读(965) 评论(0) 推荐(0)
摘要: import json a={'4': 5, '6': 7} print(json.dumps(a, sort_keys=True, indent=4)) 输出 { "4": 5, "6": 7 } 阅读全文
posted @ 2020-01-07 17:20 anobscureretreat 阅读(1950) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-07 16:17 anobscureretreat 阅读(4254) 评论(0) 推荐(1)
摘要: cat /etc/shells 显示如下: /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh 阅读全文
posted @ 2020-01-07 15:11 anobscureretreat 阅读(396) 评论(0) 推荐(0)