会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ShannonHan
[置顶]
django static files的设置和使用
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-02-27 11:27 ShannonHan
阅读(5)
评论(0)
推荐(0)
编辑
django vue
摘要: https://medium.com/@rodrigosmaniotto/integrating-django-and-vuejs-with-vue-cli-3-and-webpack-loader-145c3b98501a
阅读全文
posted @ 2019-08-17 21:03 ShannonHan
阅读(88)
评论(0)
推荐(0)
编辑
vuex
摘要: mutation 同步操作 action 异步操作 state, getter, mutation, action( dispatch, commit), module state提供一个响应式数据 getter 借助Vue的计算属性computed来实现缓存 mutation 更改state ac
阅读全文
posted @ 2019-08-11 21:38 ShannonHan
阅读(109)
评论(0)
推荐(0)
编辑
Vue 指令
摘要: 下面列举VUE的HTML页面模板指令,并进行分别练习。 1. templates 2. v-if, v-for } 3. v-onclick 4. v-model to sync variable 5. components
阅读全文
posted @ 2019-08-10 10:55 ShannonHan
阅读(106)
评论(0)
推荐(0)
编辑
Check if rabbitmq run on your host
摘要: 1. package checking 2. service checking 3. network port checking 4. others methods sudo lsof -i |grep -i 5672
阅读全文
posted @ 2019-08-06 11:20 ShannonHan
阅读(175)
评论(0)
推荐(0)
编辑
scipy python第三方库
摘要: 数据结构 numpy ndarray 对象 n 维数组 series 变长字典 DataFrame (数据框) ufunch函数
阅读全文
posted @ 2019-08-04 00:02 ShannonHan
阅读(438)
评论(0)
推荐(0)
编辑
python dict
摘要: dict 的对应关系 aInfo = {'emp1': 300, "emp2": 500, "emp3": 600} key-value pairs (键-值对) 键: 不可变的值 (num, string, tuple) list 不可以 字典的存储是无序的 创建字典的方式:1. 大括号, key
阅读全文
posted @ 2019-08-03 20:20 ShannonHan
阅读(172)
评论(0)
推荐(0)
编辑
用Python requests beautifulSoup 获取并显示中文信息
摘要: 使用requests来打开URL地址,获取编码为utf-8 得到的标签或信息在显示时用gb18030来显示。
阅读全文
posted @ 2019-08-03 12:16 ShannonHan
阅读(757)
评论(0)
推荐(0)
编辑
Python information to learn
摘要: https://inventwithpython.com/ On the web site, there are serveral web link for learning Python programming language. https://automatetheboringstuff.co
阅读全文
posted @ 2019-08-02 10:52 ShannonHan
阅读(153)
评论(0)
推荐(0)
编辑
Python 中的异常
摘要: python解释器检测出程序错误后,会终止程序执行,并报告错误类型。异常如果没有处理或捕捉的时候,会抛出异常。 Traceback 回朔(追踪,因为异常、或者错误经常发生在一层层的函数调用过程中) 每个异常都是类的实例 内建异常类 dir(__builtins__) 异常处理可以用if判断来进行,但
阅读全文
posted @ 2019-08-01 20:51 ShannonHan
阅读(135)
评论(0)
推荐(0)
编辑
Python 中的函数
摘要: 函数的定义 lanmda函数 函数的引用(有参数和无参数) 参数的默认值 关键字参数,及顺序(非关键字参数要在关键字参数之前使用) 递归 1. 反复调用自己 2. 必须有边界条件,即停止递归的条件 回归 + 递推 递归与循环的比较 递归的代码更简洁、更符合自然逻辑、更容易理解 递归的效率: 资源消耗
阅读全文
posted @ 2019-07-31 23:52 ShannonHan
阅读(194)
评论(0)
推荐(0)
编辑
下一页
导航
博客园
首页
联系
订阅
管理
公告
点击右上角即可分享