A thorough understanding of Python object-oriented programming
Before I started, I had been trying to find a popular and intuitive example to introduce object-oriented. Look around and find that everything can be object-oriented and nothing is object-oriented. Later, I found that the way human beings understand society is more object-oriented. "Birds of a feather flock together and people flock togeth ...
Posted by dylan001 on Mon, 22 Nov 2021 07:17:06 -0800
Why has Tetris, a Pygame game, been popular for 30 years? (best selling stand-alone game in History)
preface
Tetris has been popular for 30 years and has become the best-selling stand-alone game in history.
Why is it so magical and enduring?
Xiaobian summarized some reasons: it is very simple to start, but there are many skills to meet the desire to create order in chaos
Engineer Alexei says people don't realize that simplicity does ...
Posted by GregL83 on Mon, 22 Nov 2021 05:57:28 -0800
Machine learning training camp -- come and explore happiness
preface
This learning note is the learning content of Alibaba cloud Tianchi Longzhu plan machine learning training camp. The learning links are: https://tianchi.aliyun.com/specials/promotion/aicampml
Competition link: Come and explore happiness together!
Friendly reminder: I just started learning machine learning. Some places may not b ...
Posted by retro on Mon, 22 Nov 2021 04:13:17 -0800
File directory operation instance 1
File directory operation example 1 - traversal
The practical operations available in this example are: making file and directory management program, disk occupancy management, batch copying, moving and compressing files and directories, etc. The basic implementation uses get to recursion and os.walk; The extended implementation will get to ...
Posted by zenabi on Mon, 22 Nov 2021 03:29:31 -0800
ERROR: *** is not a supported wheel on this platform
Problem analysis:
Error installing whl from pip:
ERROR: *** is not a supported wheel on this platform
This is because pip will verify whether it is suitable for the current environment according to the name of whl. Two situations may lead to this error:
1. Environment adaptation, but the verification fails due to the self modified naming of ...
Posted by freeme on Sun, 21 Nov 2021 23:32:51 -0800
python notes 69 - what is a monkey patch?
preface
What is monkey patch in python?, What are the usage scenarios?
Monkey patch is mainly used for the following purposes:
Replace methods, properties, and so on at run time
Add previously unsupported functions without modifying third-party codes
Add a patch to the object in memory at run time instead of adding it to the source code on dis ...
Posted by alexboyer on Sun, 21 Nov 2021 22:58:35 -0800
Python basic super detailed notes [notes written for self review ~]
Bold style @[toc]
Computer composition
hardware system
cpu: cpuMemory: internal memory: external memory: hard disk u diskInput devices: keyboard, mouseOutput devices: monitors, printers
software system
System software: operating systemApplication software: qq, wechat
python Fundamentals
notes
Single-Line Comments
#
multiline comme ...
Posted by piersk on Sun, 21 Nov 2021 19:00:38 -0800
HanLP Chinese word segmentation, person name recognition and place name recognition
HanLP Chinese word segmentation, person name recognition and place name recognition
Experimental purpose
Download and install HanLP natural language processing package from the Internet;Familiar with the basic functions of HanLP natural language processing package;Using the information obtained by the web crawler, call the API of HanLP for Ch ...
Posted by Tjorriemorrie on Sun, 21 Nov 2021 18:00:35 -0800
Functools.lru of Python caching mechanism_ cache
When it comes to the concept of cache, I think everyone should be familiar with it. Cache applications represented by Redis and Memcache have basically become the standard configuration of microservice architecture.
In fact, it does not mean that Redis and other services must be deployed to use cache. For example, in small single applications ...
Posted by vasse on Sun, 21 Nov 2021 13:58:22 -0800
Introduction to pandas (Part 2) -- Mo Xiaotian with little talent and learning
The core content of this article is data cleaning.
Data cleaning
The steps of data work should be:
Data acquisitionData cleaningData analysisData visualization and modeling Therefore, in the last blog post, I said that the next blog post will talk about an important step in data analysis We should know that data cleaning is carried out for t ...
Posted by RClapham on Sun, 21 Nov 2021 11:56:13 -0800