Writing blockchain from 0: explain the basic principle of blockchain with python

It has been more than ten years since the birth of artificial intelligence and blockchain. When these technologies appear, people say they will change the world, but so far, the impact of these two technologies on reality is still limited. Technically, the principle of artificial intelligence is to find rules or patterns from a large amount of ...

Added by Paul15679 on Mon, 24 Jan 2022 16:25:56 +0200

Draw a white rectangle using the region growth method

Firstly, the region growth method in digital image processing is briefly introduced Three problems need to be considered in the application of region growth method 1. What are the seed pixels or which one The general principles for selecting and determining a set of seed pixels are: (1) Pixels close to the cluster center can be used as seed ...

Added by paul.mac on Mon, 24 Jan 2022 16:18:09 +0200

python learning notes

catalogue 1, Assign values to multiple variables 2, Standard data type 1.Number 2. String 3.List 4. Tuple (tuple) 5.Set 6.Dictionary 1, Assign values to multiple variables Python allows you to assign values to multiple variables at the same time. For example: a = b = c = 1 In the above example, create an integer object with a v ...

Added by Mick33520 on Mon, 24 Jan 2022 13:46:13 +0200

[Python from introduction to mastery] Python Dictionary (dict) enables everyone to find their other half (key value pairs, pairs)

Hello, I'm brother Manon Feige. Thank you for reading this article. Welcome to one click three times. This article mainly introduces the dictionary (dict) in Python data types. Let's talk about the dictionary thoroughly at once. It's full of dry goods. It's recommended to collect it. You need to use it often. If you have any questions and needs ...

Added by kshyju on Mon, 24 Jan 2022 07:06:34 +0200

The most complete Python operation Excel tutorial on the web, recommended collection!

[Welcome to WeChat Public Number: Xiamen Weiss Network] Weiss Network (Official): https://www.xmws.cn/ 0 Python Excel library comparison Let's start with a comparison of nine libraries in python that can operate on Excel: 1 Python xlrd read operation Excel Introduction to 1.1 xlrd module (1) What is an xlrd module? python operation ...

Added by randomthinker on Mon, 24 Jan 2022 06:46:07 +0200

Python: network programming, TCP, mackfile, chat writing

catalogue Socket introduction TCP programming TCP server programming [server programming steps] Practice - write a group chat program Common Socket methods MakeFile Complete code for ChatServer experiment Socket introduction Socket: socket is provided in Python Py standard library, a very low-level interface library Socket is a gen ...

Added by bbxrider on Mon, 24 Jan 2022 05:01:26 +0200

pycharm configuring conda records

1. Download and install This can be understood as an environment management tool, that is, running different projects requires different environments, that is, libraries, but some libraries will conflict with each other. It can create a virtual environment and give each project a separate virtual environment, which is more convenient to m ...

Added by roydukkey on Mon, 24 Jan 2022 04:41:27 +0200

python automated notes

1, Request library usage 1. Overview HTTP Requests need to be sent for interface testing. The most basic HTTP libraries in python include urlib, Httplib2, Requests, Treq, etc. Here we recommend using the Request library for interface testing. Requests is based on urllib and uses the HTTP Library of Apache 2 licensed open source protocol. It i ...

Added by Damien_Buttler on Mon, 24 Jan 2022 03:58:26 +0200

Python Library - openpyxl 2: using tutorial

Using tutorials 1, Working with workbooks 1.1. Create a new workbook There is no need to create it in the file system in advance The xlsx file only needs to import the Workbook class and start working: from openpyxl import Workbook wb = Workbook() 1.2. Load Workbook openpyxl. load_ The Workbook () method to open an existing workboo ...

Added by Scrumpers on Mon, 24 Jan 2022 03:28:16 +0200

Optimizing flag input parameter verification using pre request

When using flash to implement Restful interface, the request parameters need to be verified to determine whether they comply with specific rules. This article describes how to optimize the verification logic through the pre request library. Interface requirements Suppose we need to implement an interface to collect personal information fill ...

Added by rewast on Mon, 24 Jan 2022 01:24:56 +0200