是个传颂厨

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

05 2016 档案

摘要:# -*-coding:utf-8-*- from flask import Flask,url_for app = Flask(__name__) @app.route('/')#简单路由 def hello_world(): return 'hello world' @app.route('/user')#另一个简单路由 def hello_user(): return... 阅读全文
posted @ 2016-05-15 16:59 是个传颂厨 阅读(89) 评论(0) 推荐(0)

摘要:加入 就可以用text 阅读全文
posted @ 2016-05-14 22:00 是个传颂厨 阅读(248) 评论(0) 推荐(0)

摘要:伪装可以在浏览器中审查元素,network中随便选一个查看,看最底下的User-Agent就行了,顺便一提hearders是个字典。 阅读全文
posted @ 2016-05-13 22:49 是个传颂厨 阅读(468) 评论(0) 推荐(0)

摘要:# -*-coding:utf-8 -*- import re scerct_code = 'qwxxlxxerxxoxxtyxxvxxuixxexxop' scerct_code_0 = 'qwxxlxxerxx' \ 'oxxtyxxvxxuixxexxop' a = re.findall('q.',scerct_code)#.占位符,匹配任意字符除了换行符... 阅读全文
posted @ 2016-05-13 20:30 是个传颂厨 阅读(130) 评论(0) 推荐(0)

摘要:仿照伯乐在线的程序写的~不过写完再pycharm运行有一定问题,不能重定向,不过用控制台直接运行就可行了。 不写成工程文件了,直接一个文件写完算了。。。 阅读全文
posted @ 2016-05-12 15:20 是个传颂厨 阅读(160) 评论(0) 推荐(0)

摘要:创建制定大小的二维数组 reshape重新定义了数组的维度大小 阅读全文
posted @ 2016-05-01 10:36 是个传颂厨 阅读(116) 评论(0) 推荐(0)