07 2016 档案

摘要:http://www.physics.rutgers.edu/~matilsky/documents/pscp.htm 阅读全文
posted @ 2016-07-31 23:05 jihite 阅读(262) 评论(0) 推荐(0) 编辑
摘要:1. 查看远程分支 git branch -rorigin/master 2. 查看本地分支 git branch *master 注:以*开头指明现在所在的本地分支 3. 查看本地分支和远程分支 git branch -a*masterremotes/origin/master 4. 创建分支 * 阅读全文
posted @ 2016-07-31 11:13 jihite 阅读(9288) 评论(2) 推荐(1) 编辑
摘要:位置 python包依赖包安装 rtree 依赖 spatialindex(spatialindex.dll spatialindex_c.dll) shapely 依赖 geos(geos.dll geos_c.dll) 在windows安装时把dll文件拷贝到\windows\Systems32 阅读全文
posted @ 2016-07-30 16:49 jihite 阅读(5040) 评论(1) 推荐(0) 编辑
摘要:python自2.6后,新增了一种格式化字符串函数str.format(),威力十足,可以替换掉原来的% 注:以下操作版本是python2.7 映射示例 语法 通过{} 和 : 替换 % 通过位置 通过format函数可以接受不限参数个数、不限顺序 通过关键字 format括号内用=给变量赋值 通过 阅读全文
posted @ 2016-07-27 21:58 jihite 阅读(6418) 评论(0) 推荐(1) 编辑
摘要:创建新项目,clone后首次push,出现 原因 Git找不到要提交的版本 解决 阅读全文
posted @ 2016-07-26 20:57 jihite 阅读(3242) 评论(0) 推荐(0) 编辑
摘要:饼图 结果 阅读全文
posted @ 2016-07-23 22:13 jihite 阅读(1774) 评论(0) 推荐(0) 编辑
摘要:问题复现 现象:往set对象里add列表、集合对象时,时提示他们是不可hash的,而对于tuple类型就可以。 原因:set里面的对象是hash存储(所以是无序的),对于python万物都是对象,如果存储一个list对象,而后改变了list对象,那set中刚才存储的值的hash就变了。 结论:set 阅读全文
posted @ 2016-07-23 00:06 jihite 阅读(18639) 评论(0) 推荐(1) 编辑
摘要:父类A 子类不重写__init__,实例化子类时,会自动调用父类定义的__init__ 执行 但重写了__init__时,实例化子类,就不会调用父类已经定义的__init__ 执行 为了能使用或扩展父类的行为,最好显示调用父类的__init__方法 执行 阅读全文
posted @ 2016-07-22 00:29 jihite 阅读(44275) 评论(0) 推荐(2) 编辑
摘要:0. memory_profiler是干嘛的 This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption f 阅读全文
posted @ 2016-07-16 17:54 jihite 阅读(39829) 评论(0) 推荐(5) 编辑

点击右上角即可分享
微信分享提示