Study_microblog notes Part 7 -- Application Architecture reconstruction with blueprint
As a project, we should always consider how the flash application will not become chaotic and difficult to manage in the continuous growth. I will try some patterns suitable for large applications, and in order to demonstrate them, I will make some changes to the structure of the Microblog project, with the goal of making the code easier to mai ...
Added by paulb on Tue, 01 Feb 2022 14:49:27 +0200
anaconda configures the tensorflow GPU environment and uses it in the jupyter notebook (two methods: in the command line / anaconda)
This article is about how Anaconda configures the tensorflow GPU environment. It will be through the command line and anaconda. Readers can choose by themselves. let's go! The contents of chapters 1 and 2 in the following table of contents are the same, but the methods are different. Choose one of them.
1, Creating tensorflow virtual enviro ...
Added by Bac on Tue, 01 Feb 2022 13:50:29 +0200
Three particularly practical Python modules are recommended, which are worth collecting
Hello, everyone. Today I will introduce three Python modules that are particularly easy to use. Few people know about them, but they are particularly easy to use.
Psutil Pendulum Pyfiglet
Psutil
The Psutil module in Python is a cross platform library. It can easily obtain the process and system utilization of the system, including CPU, m ...
Added by sb on Tue, 01 Feb 2022 13:45:00 +0200
Standard for administrative region names of all provinces in China (reference to national standard for 2-letter Pinyin abbreviations of provinces)
Standard for administrative region names of all provinces in China (reference to national standard for 2-letter Pinyin abbreviations of provinces)
Resolve the conflict between the two letter Pinyin abbreviations in the process of program development, and introduce the "administrative region domain name" of the Ministry of industry an ...
Added by Galia on Tue, 01 Feb 2022 13:00:43 +0200
Flask framework context & hook function
context
There are two contexts in the flash project, one is the application context (web), the other is the request context (request), the request context request and the application context current_app is A global variable, and all requests are shared. Flask has A special mechanism to ensure that the data of each request is isolated, that ...
Added by Swede78 on Tue, 01 Feb 2022 12:32:16 +0200
Python basic 100 questions punch in Day2
Day2
Topic 4
Write a program to accept a series of comma separated numbers from the console and generate a list and a tuple containing each number. Suppose the following inputs are provided to the program: 34,67,55,33,12,98 The output should be: ['34', '67', '55', '33', '12', '98'] ('34', '67', '55', '33', '12', '98')
code implementation
ls ...
Added by jd307 on Tue, 01 Feb 2022 11:07:31 +0200
Python3.10 official release, quick view of new features
On October 4, 2021, when the National Day holiday is full of people, Python officially Officially released Python 3 ten . As a stationary coder during the holiday, I naturally experienced a wave for the first time. Compared with the previous version, this version has the following major changes.
ps: want to see a better typesetting? visit: ...
Added by milind24 on Tue, 01 Feb 2022 09:15:06 +0200
Learn to show off your cool charts and sharp tools. Can leaders reuse you?
preface
Some time ago, the leader suddenly called me to the office
The senior management of the company should take a look at the performance data analysis of the project team in the first half of the year, and get ready! All right?
I can't help it. I have to be tough! Promise and guarantee to complete the task!
When it comes to data analys ...
Added by lukekelly on Tue, 01 Feb 2022 09:10:23 +0200
Advanced Python -- understanding and using Python "script"
preface
The main content of this article is to use Python to write some practical scripts to facilitate our daily use (as long as we dare to think, we dare to create). In daily life, we write the front-end and back-end, and often use the database. MySQL is often used in Python to operate mysql. Usually, we need to write a lot of sql cod ...
Added by icd_lx on Tue, 01 Feb 2022 07:56:08 +0200
opencv-python image high-pass filter and low-pass filter
opencv-python image high-pass filter and low-pass filter
1. High-pass filter
Principle of high-pass filter
High-pass filtering means that the parts with high frequencies pass through and are derived from the image. Generally speaking, the pixels of a picture have high frequencies in the outline and low frequencies in other parts.
For Fourie ...
Added by mad_hacker on Tue, 01 Feb 2022 07:12:33 +0200