返回顶部
扩大
缩小
大江东去,浪淘尽,千古风流人物。故垒西边,人道是,三国周郎赤壁。乱石穿空,惊涛拍岸,卷起千堆雪。江山如画,一时多少豪杰。遥想公瑾当年,小乔初嫁了,雄姿英发。羽扇纶巾,谈笑间,樯橹灰飞烟灭。故国神游,多情应笑我,早生华发。人生如梦,一尊还酹江月。

09 2020 档案

tesserocr 使用
摘要:tesserocr 使用: 简单识别: import tesserocr from PIL import Image image = Image.open('code.jpg') result = tesserocr.image_to_text(image) print(result) 多余线条干扰 阅读全文

posted @ 2020-09-30 23:07 晨星_star 阅读(464) 评论(0) 推荐(0)

tesserocr 安装
摘要:tesserocr 介绍: tesserocr 是 Python 的一个 OCR 识别库 ,但其实是对 tesseract 做的一 层 Python API 封装,所以它的核心是 tesseract。 因此,在安装 tesserocr 之前,我们需要先安装 tesseract 验证码,可以通过 OC 阅读全文

posted @ 2020-09-30 22:53 晨星_star 阅读(189) 评论(0) 推荐(0)

python 环境配置
摘要:python环境安装: windows: 下载地址:https://www.python.org/downloads anaconda: https://www.continuum.io/downloads / https://mirrors.tuna.tsinghua.edu.cn/anacond 阅读全文

posted @ 2020-09-28 10:20 晨星_star 阅读(215) 评论(0) 推荐(0)

scrapy 爬取股票
摘要:scrapy 爬取股票 stock.py # -*- coding: utf-8 -*- import scrapy from items import StockstarItem, StockstarItemLoader class StockSpider(scrapy.Spider): name 阅读全文

posted @ 2020-09-27 16:28 晨星_star 阅读(488) 评论(0) 推荐(0)

爬虫多进程优化
摘要:爬虫优化--多进程 多进程: from qunar import get_all_data from qunar import dep_list from multiprocessing import Pool # 多进程 if __name__ == "__main__": pool=Pool() 阅读全文

posted @ 2020-09-27 16:18 晨星_star 阅读(174) 评论(0) 推荐(0)

爬虫监控
摘要:数据监控: import requests import urllib import time import pymongo # 必须写在外面,否则无法导入 client=pymongo.MongoClient('localhost',27017) book_qunar=client['qunar' 阅读全文

posted @ 2020-09-27 16:12 晨星_star 阅读(258) 评论(0) 推荐(0)

selenium 爬取去哪儿
摘要:selenium 爬取去哪儿 import requests import urllib.request import time import random from selenium import webdriver from selenium.webdriver.common.by import 阅读全文

posted @ 2020-09-27 16:07 晨星_star 阅读(247) 评论(0) 推荐(0)

有道爬虫
摘要:有道翻译 import requests import json def get_translate_date(word=None): url='http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule' Form_dat 阅读全文

posted @ 2020-09-27 16:01 晨星_star 阅读(167) 评论(0) 推荐(0)

mysql 进阶
摘要:索引: 索引是存储引擎用于快速找到记录的一种数据结构。 索引的存在作用就是加快了我们查找内容的速度,在数据库中索引(像字典的目录) 索引类型: 两大类索引类型:B+ Tree索引 和 Hash 索引。 在MySQL中索引是在存储引擎层而不是在服务器层实现。一般来说谈到MySQL索引大部分情况下是B- 阅读全文

posted @ 2020-09-27 15:33 晨星_star 阅读(176) 评论(0) 推荐(0)

mysql 基础知识
摘要:架构模型: 一个典型的互联网产品架构包含接入层、逻辑处理层以及存储层,其中存储层承载着数据落地和持久化的任务,同时给逻辑处理层提供数据查询功能支持。说到存储层就要说到数据库,数据库知识掌握程度也是面试考察的知识点。 分类: 数据库分为关系型数据库和非关系型数据库,也就是我们常说的 SQL 和 NoS 阅读全文

posted @ 2020-09-27 10:44 晨星_star 阅读(175) 评论(0) 推荐(0)

导航

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