上一页 1 ··· 5 6 7 8 9
摘要: 上篇学习sys.argv的使用代码中发现了错误,获取到的Json数据为单引号和NONE,为错误的json格式。 经检查,发现直接使用r.text就可以得到正确的json数组,使用r.json()反而使json数组中的双引号变为单引号,null变为NONE。 原因为.json()会改变正确格式的jso 阅读全文
posted @ 2020-07-04 14:08 ♥之 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: 使用sys时总是只显示[0]也就是py文件名,跟随的py文件后的参数无法传入,经过百度,发现需要在py文件名前加上python才能成功传入参数 //cmd命令 ...Desktop>python CTpachogn.py CT56 1 8039593331 import requests impor 阅读全文
posted @ 2020-07-04 10:34 ♥之 阅读(208) 评论(0) 推荐(0) 编辑
摘要: (1)、RANGE分区:基于属于一个给定连续区间的列值,把多行分配给分区。使用range最终的值必须是数字 (2)、LIST分区:类似于按RANGE分区,区别在于LIST分区是基于列值匹配一个离散值集合中的某个值来进行选择。 (3)、HASH分区:基于用户定义的表达式的返回值来进行选择的分区,该表达 阅读全文
posted @ 2020-05-14 13:14 ♥之 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1.index.html导入cdn 2.main.js中引入 import Vue from 'vue'import App from './App.vue'import ELEMENT from 'element-ui';import axios from 'axios'Vue.config.pr 阅读全文
posted @ 2020-04-28 21:56 ♥之 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 在index.html中: <script src="../static/js/vue.js"></script> <link href="https://cdn.bootcss.com/element-ui/2.4.5/theme-chalk/index.css" rel="stylesheet" 阅读全文
posted @ 2020-04-28 17:44 ♥之 阅读(5988) 评论(4) 推荐(1) 编辑
摘要: Vue官方文档 Vue-router官方文档 Vuex官方文档 vue-cli文档 axios文档 VuePC组件库element-ui文档 Vue移动端组件库Vant 阅读全文
posted @ 2020-04-23 13:47 ♥之 阅读(202) 评论(0) 推荐(0) 编辑
摘要: django取消自带语法 {% verbatim %} {% endverbatim %} 如何处理django模板与vue冲突问题 转载网址: https://blog.csdn.net/jyfu2_12/article/details/79058819 阅读全文
posted @ 2020-04-23 13:10 ♥之 阅读(392) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9