Light reptile + OCR part I

The first reptile in life (python3) Preface This blog is used to record the first gadget written by Xiaobai in python. It takes more than a day. In addition, I am still learning. This blog is my opinion and notes. There will be many mistakes and shortcomings. I hope you can give me some advice. This ...

Posted by johnnyk on Fri, 24 Jan 2020 02:34:11 -0800

FIO performance test data drawing

A picture is worth a thousand words. This is especially true when testing performance. For the results of fio tests we often use, how can we quickly generate charts? Ensure that the FIO command can record performance data Refer to the following command: fio -filename=/dev/nvme2n1 -thread -numjobs=1 -iodepth=64 --bs=4K -direct=1 --rw=write -ioe ...

Posted by egg82 on Tue, 21 Jan 2020 09:58:20 -0800

How a case deploys a python project to a linux server

[External chain picture transfer failed, source station may have anti-theft chain mechanism, it is recommended to save the picture and upload it directly (img-6ljXK6PO-1579487161655). (]) 1. Case Background Write a script with Python and deploy it to a server in Linux environment. Since the server li ...

Posted by MadnessRed on Sun, 19 Jan 2020 18:37:50 -0800

[UWP] Use Compact Overlay Mode to always display on the front end

1. What is and how to use Picture-in-Picture UWP offers a new view mode CompactOverlay after Windows 10 Creators Update, which translates Chinese into a compact overlay?Anyway, most of the time we call it Picture-in-Picture mode. The upper right corner of the above image is the Microsoft Movie and TV application that enters Picture-in-Picture ...

Posted by iimrii on Fri, 17 Jan 2020 12:13:10 -0800

[Environment] go mod--a love-hate package management tool

Why do we need package management Python has pip, Nodejs has npm.Is there a package management tool in other languages, so go needs it?Of course not, let's look at the following code: import ( "github.com/TomatoMr/something" ) This is how go references packages, which is obviously a third-party package, so how exactly is it found on our m ...

Posted by bdbush on Tue, 14 Jan 2020 09:18:17 -0800

Download of python 3.x crawler Jinjiang novel (use cookie to get VIP chapter)

Preface As a girl, I like to read novels in Jinjiang. However, the website of Jinjiang is very magical. The article says that we can only write a crawler program to save novels At first, I chose the format of txt to save the novel. Later, I decided to save the novel in the format of epub. Because I ...

Posted by maxic0 on Mon, 13 Jan 2020 07:48:52 -0800

Daniel will take you 5 minutes to create a Flask project!

Get ready Install: pip install flaskFlask Quick start: http://docs.jinkan.org/docs/flash/quickstart.html "QuickStart" Rapid construction Build in the project root directory: webapp package directory, where the flash code is stored. There is a "init. Py" file in the package templates directory to store template files Stati ...

Posted by blueman on Fri, 03 Jan 2020 12:51:48 -0800

Solutions to problems encountered in the deployment of CentOS 7.4 deployment automation OpsManage

  Install Python Because I installed centos7, I don't need to install python2.7. Just follow the steps below. yum install zlib zlib-devel readline-devel sqlite-devel bzip2-devel openssl-devel gdbm-devel libdbi-devel ncurses-libs kernel-devel libxslt-devel libffi-devel python-devel zlib-devel sshpass gcc git -y mv /usr/bin/ ...

Posted by dannydefreak on Wed, 01 Jan 2020 07:44:27 -0800

centos7 yum install testeract PIP install python3 testeracr

centos7 system yum installs testeract, and pip installs testserocr of python3 September 4, 2018 00:00:27 reading: 15 label: centos7python3tesserocr More Personal classification: python Copyright notice: This is the original article of the blogger. It can't be reproduced without the permission of the blogger. https://blog.csdn.net/zyy24779614 ...

Posted by makoy on Wed, 01 Jan 2020 03:29:51 -0800

Using Python 3 to save csv format to MySql database

Next, you need to store the stock data in csv format in mysql database: Here are two methods: +Using pymysql +Using sqlalchemy See mysql installation here: https://blog.csdn.net/tonydz0523/article/details/82501177 Using pymysql Install pip install pymysql You also need to use pandas PIP install pandas First, establish a ...

Posted by bitt3n on Tue, 31 Dec 2019 03:31:19 -0800