摘要: 参考文档:http://blog.csdn.net/mchdba/article/details/12083965?utm_source=tuicool&utm_medium=referral1、push1) git status2) git add3) git commit -m "change ... 阅读全文
posted @ 2015-12-18 17:51 everSeeker 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 参考文档:1、https://docs.mongodb.org/getting-started/python/2、http://api.mongodb.org/python/current/api/pymongo/index.html# -*- coding: utf-8 -*-import sys... 阅读全文
posted @ 2015-12-17 23:52 everSeeker 阅读(822) 评论(0) 推荐(0) 编辑
摘要: 测试环境:python2.7 + beautifulsoup4.4.1 + selenium2.48.0 测试网址:http://tieba.baidu.com/p/2827883128 目的是下载该网页下所有图片,共160+张。可以分为以下几步: 1、获取网页源代码。 发现直接通过urllib2或 阅读全文
posted @ 2015-12-06 15:26 everSeeker 阅读(4360) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import requests import re import sys reload(sys) sys.setdefaultencoding('utf-8') if __name__ == '__main__': url = 'http://photostock.china.com.cn/Web_CHN/SpecialTopicPhot... 阅读全文
posted @ 2015-12-03 00:08 everSeeker 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1、前台界面主要采用React框架。通过Ajax方式将数据与tornado服务器交互。以下代码为请求后台数据。var ThisPage = React.createClass({ render: function() { return ( ... 阅读全文
posted @ 2015-11-29 22:46 everSeeker 阅读(604) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import requests import re import sys reload(sys) sys.setdefaultencoding('utf-8') class Spider(object): def __init__(self): print('开始爬取豆瓣图书top250的内容。。。。。。') #... 阅读全文
posted @ 2015-11-19 15:43 everSeeker 阅读(910) 评论(0) 推荐(0) 编辑
摘要: python快速教程 http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.html tornado中文文档 http://demo.pythoner.com/itt2zh/index.html tornado 4.3 documentati 阅读全文
posted @ 2015-11-04 22:52 everSeeker 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 以一个实际例子来说明mysql数据库的常用操作。学生选课系统,基本表包括student表、teacher表、course表,每门课程都有固定的老师;以及学生选课表,字段包括id(主键),学生id,课程id,以及分数score。如图所示: 1、服务器的连接 2、数据库的创建和使用 3、表相关操作 4、 阅读全文
posted @ 2015-10-23 22:48 everSeeker 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 第一个springmvc+mybatis项目,通过学习极客学院视频(视频案例通过eclipse搭建,网址为http://www.jikexueyuan.com/course/1430.html),发现在IntelliJ IDEA编译器下不能正常运行,通过摸索后正常。记录下几个关键改动: 1、pom. 阅读全文
posted @ 2015-10-22 00:11 everSeeker 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 注:本文参考了孤傲苍狼关于MyBatis学习总结,在此表示感谢,原文链接为http://www.cnblogs.com/xdp-gacl/p/4261895.html。 1、新建project,勾选create from archetype,选择org.apache.maven.archetypes 阅读全文
posted @ 2015-10-19 17:03 everSeeker 阅读(737) 评论(0) 推荐(0) 编辑