python learning notes hands on how to use native urllib to send network requests

example teaching urllib.urlopen(url[,data[,proxies]]) : https://docs.python.org/2/library/urllib.html The default library of network requests in python is the urllib series, including urllib urllib2 and urllib3, which cooperate with each other in most cases Of course, there are many excellent third ...

Posted on Sat, 18 Jan 2020 01:30:27 -0500 by phprocker

Hash + Hamming distance for similarity measurement

Hash + Hamming distance for similarity measurement Hash algorithm aHash Definition aHash based on low frequency mean hash: too strict to search thumbnails Algorithm steps Reduce picture size Turn it into a grayscale image Calculate gray mean According to the comparison with the gray mean, the ...

Posted on Thu, 16 Jan 2020 04:40:03 -0500 by bernouli

Python basics summary (short notes)

Python is a cross platform computer programming language. It is an object-oriented dynamic type language. Notes include the basic skills of compiling and installing python, python list, dictionary, tuple, file operation and other commands. ◆ compiling and installing Python Python development environment installation and configuration is very si ...

Posted on Tue, 14 Jan 2020 04:53:32 -0500 by mattchewone

Server configuration virtual environment, jupyter, common commands

Catalog Server configuration virtual environment, jupyter Virtual environment creation Image source add The server is configured with jupyter and pycharm remote connection Install jupyter Configure jupyter notebook remote access Add conda virtual environment to the Jupyter Notebook Kernel Configure ...

Posted on Mon, 13 Jan 2020 06:21:31 -0500 by mamavi

Create a project development environment of front and back end separation with React+Flask

Article directory Preface Backend-Flask Frontend-React Done References Preface In the new year, the first technical paper on water will be started. As it happens, React has been playing a lot recently. Please write an article to commemorate the construction of development environment. A kind of ...

Posted on Mon, 13 Jan 2020 04:41:06 -0500 by pitn

Data analysis day01

Data analysis day01 1.numpy module What is data analysis It is to extract the information hidden behind some seemingly disordered data and summarize the internal law of the research object Data analysis is to analyze a large amount of collected data with appropriate methods to help people make ju ...

Posted on Mon, 13 Jan 2020 02:42:18 -0500 by mady

Version compatibility of PyTorch and TensorboardX

1. Version compatibility between PyTorch and TensorboardX In the use of tensorflow, people often use tensorboard to visualize data, such as the change of model structure and loss function. In fact, PyTorch can also use TensorboardX to visualize data. PyTorch has its own visdom module to realize visual ...

Posted on Fri, 10 Jan 2020 09:45:25 -0500 by dnszero

Python GUI development practice: picture conversion sketch tool!

There is no end to struggle ! Study hard 72 changes, because in the future No one can stop 81 for you. Life is like an ant, when there is ambition; Life is as thin as paper, which should be unyielding. ​ I was touched by this sentence today, so I will share it with you at the beginning. Chicken soup is poisonous, but sometimes we rely on it ...

Posted on Thu, 09 Jan 2020 07:52:23 -0500 by infolock

The solution to the error of installing. / bkcec install paas (the problem caused by coding)

Wang 5 of Haoding: solution to error reporting in installation. / bkcec install paas (problems caused by coding) Key words: blue whale smart cloud installation error report 1. Error message: install pbr failed The error message is as follows: byte-compiling build/bdist.linux-x86_64/egg/pip/_vendor/html5lib/treewalkers/ ...

Posted on Mon, 06 Jan 2020 03:11:05 -0500 by scottd

Ubuntu 16.04 set up webterminal

Ubuntu 16.04 installing webterminal Step 1: install dependency sudo apt update -y sudo apt-get install -y python python-dev redis-server python-pip supervisor nginx git sudo apt-get install python-software-properties build-essential libssh-dev software-properties-common curl gcc jq wget libjpeg-dev libjpeg-turbo8-dev ...

Posted on Sun, 05 Jan 2020 17:38:40 -0500 by sapoxgn