DataStream API for Flink learning (python version)
๐ฆ Today, let's learn about the more basic DataStream API in flink, which is used to process stream data. This article is mainly in the form of pyflink to explain to the small partners who are interested in the content of previous periods ๐:
hadoop topics: hadoop series articles.spark topics: spark series.Flynk topics: Flink series.
๐ The A ...
Added by urgido on Thu, 17 Feb 2022 19:55:58 +0200
"Stupid method" learn Python 3 basic chapter - build a simple website
"Stupid method" learning Python 3 basic articles series
"Stupid method" learning Python 3 basic part 1 - printing and input "Stupid method" learning Python 3 basic part 2 - file operation "Stupid method" learning Python 3 basic part 3 - function "Stupid method" learning Python 3 Foundation Part ...
Added by artcalv on Thu, 17 Feb 2022 18:57:45 +0200
It took an hour to write an OCR tool for image and character recognition in Python
Life is short, learn Python!
In the previous article, we tried to use Python to realize text OCR recognition many times!
Today we are going to make an upgraded version: directly write an image character recognition OCR tool!
introduction
Recently, I talked about a demand for image and character recognition in the technical exchange group, w ...
Added by sharke on Thu, 17 Feb 2022 18:19:48 +0200
All namespaces | scopes | closures | global | nonlocal | global | locales
Basic concepts
Namespace
The mapping from name to object is mostly implemented by dictionary in python
Built inglobalLocal, local
Namespaces have a life cycle, which simply means that the function ends when it returns
Scope
python programs can directly access the body area of the namespace
Built inglobalenclosing, which is outside th ...
Added by ferrit91 on Thu, 17 Feb 2022 17:42:28 +0200
day4 - daily summary and homework
***
Process control
1) Sequential structure: code is executed from top to bottom, and each statement is executed in sequence (default) 2) Branch structure: choose to execute or not execute part of the code according to the conditions (use if) 3) Loop structure: make the code execute repeatedly (for, while)
Branching structure
age = 10
if ag ...
Added by libinaz on Thu, 17 Feb 2022 16:36:48 +0200
VOC data sets and COCO data sets are directly converted to each other
Conversion between VOC dataset (xml format) and COCO dataset (json format)
Let's first look at the directory structure of voc and coco datasets: Take the VOC2012 dataset as an example, there are five folders below: The Annotations folder is the XML file corresponding to the image. For example, "2007_000027.xml" stores the informatio ...
Added by gorgo666 on Thu, 17 Feb 2022 16:10:03 +0200
Uiautomator2 general API Encyclopedia
Uiautomator2 common API s
Pure manual output, it is recommended to collect praise, one key and three connections
github reference link:
https://github.com/openatx/uiautomator2/tree/master/uiautomator2
Install ATX agent
python -m uiautomator2 init Using webitor under win
python -m weditor Enter the page by address http://192.168 ...
Added by marukochan on Thu, 17 Feb 2022 15:20:54 +0200
Easy to understand --- build httprunner+pymysql+allure+jenkins+git interface automation test framework
The author of httprunner is debugtalk. He is a senior developer. At present, there are five versions of httprunner The usage of Httprunner is relatively simple and conforms to a variety of scenarios in work: 1. After completing the interface automation, it is required to continue the performance test of this interface (hrun has a built-in locus ...
Added by HoangLong on Thu, 17 Feb 2022 14:59:52 +0200
Python -- first knowledge of database
1, Database overview
1. Why use a database
If the data is stored in a file, reading and writing occupy disk IO, and the efficiency is lowData security considerationsSupport high concurrency
2. Database classification
At present, databases can be divided into two categories: relational databases and non relational databases
2.1 relation ...
Added by dilum on Thu, 17 Feb 2022 14:34:09 +0200
Functions and modules in Python
Content introduction:
Basic concepts of functions and modulesCode reuse using functionsCommon built-in modules and functions in PythonCustom functions and calls between functionsParameters and return values in functions
function
A function is a group of statements that are grouped together to complete an operation Benefits of using functio ...
Added by Braimaster on Thu, 17 Feb 2022 14:10:36 +0200