Fight against new coronavirus: a balanced analysis of national cure and new cases

# default_exp china # The above line is used to declare the name of this module in nbdev. Must be the first row of the first Cell of the notebook. china_balance Description: fight against new coronavirus (7) - Analysis of the balance between national cure and new cases. Function: load the data/china.csv file for drawing output and anal ...

Posted on Wed, 19 Feb 2020 13:15:43 -0500 by itpvision

Python development [Part 2]: Python basic data types

operator 1, Number operation 2, Comparison operation 3, Assignment operation 4, Logical operation 5, Member operation Basic data type I. numbers int (integer) On a 32-bit machine, the number of integers is 32 bits, and the value range is - 231-231-1, that is - 2147483648-2147483647On the 64 bit system, the number of integers is 64 bit ...

Posted on Wed, 19 Feb 2020 12:23:28 -0500 by LAMP

Python executes commands through paramiko batch remote hosts

I. Preface In the process of daily operation and maintenance, it is often necessary to log in to the host to execute some commands. Sometimes it is necessary to log in to a batch of hosts to execute the same life. The efficiency of manual login execution is too slow, so it can be executed in batches through Python's paramiko module. This articl ...

Posted on Wed, 19 Feb 2020 12:22:31 -0500 by Reviresco

Several common methods of parsing XML with Python

This article mainly introduces several common methods of parsing XML in Python, including the example introduction of using ElementTree module quickly, etc. for your friends, please refer to the following I. Introduction XML (eXtensible Markup Language) refers to eXtensible Markup Language, which is ...

Posted on Wed, 19 Feb 2020 10:21:06 -0500 by jme

python crawls the picture of Paradise 3 - get the patch in the page subdirectory

In the previous article, we crawled through the cover pictures of each page For example, each of them has 18 directories, i.e. 18 cover pictures, with a total of 11 screens, i.e. 198 pictures     This article describes how to crawl the pictures in the directory of each page and save them in t ...

Posted on Wed, 19 Feb 2020 09:58:53 -0500 by avincent

Python notes: Chapter 1 of Python 3-cookbook (data structure and algorithm)

Each section of Python 3-cookbook discusses the optimal solution of Python 3 in a certain kind of problem by three parts: problem, solution and discussion, or how to better use the data structure, function, class and other features of Python 3 in a certain kind of problem. This book is of great help for deepening the use of Python 3 and improvi ...

Posted on Wed, 19 Feb 2020 08:48:31 -0500 by idevlin

MATLAB's global function (global variable) - explained in detail from python and MAT examples

Today, I originally released a program to take photos with the camera gui, and then I was personally asked about the use of the global function. I've thought about it. Let's take the camera as an example to explain the use of this function. But let's use a small example in python to illustrate: >> ...

Posted on Wed, 19 Feb 2020 08:09:56 -0500 by blufish

Python version simple grid strategy

There are not many Python strategies in the strategy square. A python version of grid strategy is written here. The principle of strategy is very simple. A series of grid nodes are generated in a fixed price distance within a price range. When the market changes, the price reaches a grid node price position, and a purchase order is placed. When ...

Posted on Wed, 19 Feb 2020 05:30:40 -0500 by ulrikqk

Python 3 standard library: enum enumeration

1. enum Enumeration is a collection of symbol names (enumeration members). Enumeration members should be unique and immutable. In enumeration, members can be compared in identity, and enumeration itself is iterative. 1.1 create enumeration You can use class syntax to derive Enum and add class properties that describe values to define a new enum ...

Posted on Wed, 19 Feb 2020 05:24:05 -0500 by TexasMd91

Using python to realize the fitting and prediction of 2019 ncov epidemic data

thinking The first step is to draw a scatter diagram with data to roughly understand its distribution law The second step is to use the existing data to fit the curve and solve the parameters of the fitting curve The third step is to use the fitting curve to predict the future The following is stri ...

Posted on Wed, 19 Feb 2020 00:31:26 -0500 by pornost4r