BeeWare peaker Chinese document - Tutorial 6 - start this (third party)

So far, the application we have built only uses our own code, plus the code provided by BeeWare. However, in practice, you may want to use a third-party library downloaded from the Python package index (PyPI). Let's modify our application to include third-party libraries. Access API A common task that an application needs to perform is to mak ...

Posted by cecilieuk on Wed, 19 Jan 2022 20:45:54 +0100

Functions in Python

catalogue 1. Define function 2. Transfer parameters 2.1} parameter type 2.1.1} location arguments 2.1.2} keyword arguments 2.1.3 # delivery list 2.2} passing any number of arguments 3. Return value 4) store functions in modules 4.1} import module 4.2} import specific functions 4.3} use as to specify alias 1. Define function The f ...

Posted by watsmyname on Wed, 19 Jan 2022 18:25:36 +0100

The test platform series (88) completes the email notification function (with a beautiful email template)

Hello ~ I'm Milo! I'm building an open source interface testing platform from 0 to 1, and I'm also writing a complete set of corresponding tutorials. I hope you can support me. Welcome to my official account MENOIR's diary, get the latest article tutorial! review Last time, we found a seemingly good email template, but because the data is dead ...

Posted by fangorn on Wed, 19 Jan 2022 16:39:54 +0100

[YOLOv5] SPP and SPPF modules and add ASPP module

Also known as, sort out your unreliable learning records. YOLOv5 profile YOLOv5 is built through yaml configuration file. First, it is in common Build a class with the same name in the PY file, and then read the corresponding operation from the configuration file. The class of the operation will be instantiated. The whole network structur ...

Posted by xgab on Wed, 19 Jan 2022 16:25:25 +0100

[draw the competition diagram with a few lines of pandas_live] 9 Life expectancy in G7 countries (test code + data set + mapping parameter analysis)

Welcome to pay attention Column of "pandas_alive drawing dynamic map of competition" , continuously updating Welcome to pay attention Column of "pandas_alive drawing dynamic map of competition" , continuously updating Resource file download: Column learning instructions (configured venv virtual environment + take ...

Posted by Kingw on Wed, 19 Jan 2022 14:44:41 +0100

Modeling method for dealing with structural changes of time series 1

Previous articles in this column have discussed that under the condition of complex and changeable exogenous stimuli, the structure of time series data will change, so that outdated data is no longer suitable for current time series modeling. The general time series econometric modeling method itself does not have the function of identifying st ...

Posted by Russia on Wed, 19 Jan 2022 14:35:43 +0100

Scripy framework: integrating Selenium into scripy

1, Overview of overall functions In the process of daily learning, it is found that not all web pages can be captured by Scrapy. The reason is that JavaScript is dynamically rendered and Selenium is used to simulate browser crawling. There is no need to care about background requests or analyze the rendering process. As long as the content ...

Posted by dloeppky on Wed, 19 Jan 2022 12:47:26 +0100

Python -- exception handling

As a python beginner, I want to write a blog to record my growth process and share what I have learned. The following are some superficial views and personal understanding of Python language by a python beginner. #try... An except structure ''' try... except is the most common exception handling structure. The structure is as follows: try: Mon ...

Posted by zmoerf on Wed, 19 Jan 2022 12:42:10 +0100

Installation and use of 3D visualization library Mayavi

1 installation Install 1 (successful) Mayavi's pip installation support is not good, so it is installed with a compiled whl file. The installation method is as follows. Mayavi and its test environment are: # win10 system # conda's new clean environment # python version is 3.8 # Mayavi version is 4.7.3 The installation commands are as f ...

Posted by 303tech on Wed, 19 Jan 2022 10:47:41 +0100

day21 network programming

day21 network programming (Part 2) Course objective: learn the necessary knowledge of network programming development. Today's summary: OSI7 layer modelTCP and UDPSticky bagBlocking and non blockingIO multiplexing 1. OSI layer 7 model The 7-layer OSI model may not be easy to understand, so let's explain it through a case: Suppose you ...

Posted by aliento on Wed, 19 Jan 2022 10:45:01 +0100