Python maps - detailed explanation of examples of drawing Chinese maps with the latest version of pyecharts, personalized map customization and common parameter analysis
Chapter 1: example demonstration
① Pyecarts version 1.9.1 installation and data preparation
First, you need to install the pyecarts library. Just PIP install pyecarts directly. The new version does not need to be installed separately. If it is version 0.5, it needs to be installed separately. At present, the latest version 1.9.1 is demons ...
Added by tnkannan on Mon, 17 Jan 2022 15:47:07 +0200
[configuration file] yaml configuration file read / write resolution [python and C + +]
Content of this article:
This section mainly introduces how to read, write and parse the configuration file yaml.
Basic introduction:
In daily development, we can always encounter some scenarios that may need to be changed. At this time, we need a configuration file to change th ...
Added by punked on Mon, 17 Jan 2022 15:27:06 +0200
Item 1: Alien Invasion
0 project planning
0.1 project overview
In the game alien invasion, players control a spaceship that appears at the bottom and center of the screen. Players can use the up, down or left keys to move the ship, and can also use the space bar to shoot. At the beginning of the game, an alien Legion appeared at the top of the screen. While moving ...
Added by Runilo on Mon, 17 Jan 2022 14:14:24 +0200
[Python automated test 10] file basic operation
1, Foreword
this article mainly explains the basic operation of files in Python. It is the basic explanation of file operation. It will be used in subsequent automation tests. Below is the portal of a series of articles. Interested partners can also go to check it. Let's have a look at it together~
Series of articles: ...
Added by shinichi_nguyen on Mon, 17 Jan 2022 12:44:14 +0200
RabbitMQ Learning Notes
Introduction
This is RabbitMQ in Depth's learning notes.
AMQ
The AMQ(Advanced Message Queuing) model defines three abstract components:
Exchange - Message broker component that routes messages to queuesQueue - Data structure for storing messagesBinding - Rule that tells Exchange which Queue messages should be stored
In addition to bein ...
Added by garyb_44 on Mon, 17 Jan 2022 11:43:21 +0200
Fundamentals of Python language
Basic syntax and variables
print('hello world!')
1, Basic grammar
1. Common shortcut keys
ctr + / - add or remove comments ctr + s - save ctr + c - copy ctr + v - paste ctr + x - shear ctr + a - select all ctr + z - undo ctr + shift + z - reverse undo
2. Notes
Comments are the parts of the code that will not be compiled and executed (not ...
Added by zaneosak on Mon, 17 Jan 2022 08:27:46 +0200
[Python] detailed explanation, addition, deletion and modification of dict dictionary
summary
Python Dictionary (dict) is an unordered and variable sequence. Its elements are stored in the form of "key value". In contrast, list s and tuple s are ordered sequences, and their elements are stored next to each other at the bottom.
The dictionary type is the only mapping type in Python.
"Mapping" is a term ...
Added by paulnaj on Mon, 17 Jan 2022 08:25:12 +0200
Python basic data type
When understanding basic data types, we need to know what basic data types are? Number int, Boolean bool, string str, list, tuple, dictionary dict, etc., including their basic usage and common methods, which will be listed here for reference. Then we need to know some operators, because these basic data types are often used for some operations ...
Added by rpieszak on Mon, 17 Jan 2022 04:50:45 +0200
Simple QQ music crawling
The crawler function is realized bit by bit. If we want to crawl qq music, we must first crawl one of the songs.
We open the official website of qq music, randomly find a song, enter the playback page, and then press F12 to enter the detection interface.
If no data appears, refresh the page. Then we find the file with the size of a song her ...
Added by zab329 on Mon, 17 Jan 2022 03:14:48 +0200
Numpy 4. Array creation
catalogue
Array creation
1. Create ndarray based on existing data
(a) It is created through the array() function.
(b) It is created through the asarray() function
(c) It is created through the fromfunction() function
2. Fill according to ones and zeros
(a) Zero array
(b) 1 array
(c) Empty array
(d) Unit array
(e) Diagonal array
(f) ...
Added by bobbuilder on Mon, 17 Jan 2022 01:05:53 +0200