"Crouching in a pit can enter a big factory" multi-threaded series - ThreadLocal intensive lecture (Basic + source code)

preface Me: Good morning, dog leftover son. I haven't seen you for two days. I thought you changed jobs and joined A-San's company! Dog leftover son: you're eating spicy farts. It's exciting. If you don't finish the Gie tutorial, I'll jump in any slot. Me: Yo hoo, where have you been these two days? Dog leftover son: I'm not practicin ...

Added by leony on Thu, 27 Jan 2022 19:18:16 +0200

Tushare series starting from 0 - 5 Multithreading and traffic restrictions

According to the instructions of official documents https://waditu.com/document/2?doc_id=27 , there are two ways to get the daily market, one is to traverse the stock code, the other is to traverse the trading date. Theoretically, it will be faster to traverse the stock code when obtaining the full amount of data, because the current total numb ...

Added by tempi on Thu, 27 Jan 2022 18:50:14 +0200

The tenth day of basic learning in python -- Notes

File operation (IO Technology) A complete program generally includes data storage and reading; The program data we wrote earlier is not actually stored, so the data disappears after the python interpreter executes. In actual development, we often need to read data from external storage media (hard disk, optical disc, U SB flash disk, etc.), or ...

Added by blt2589 on Thu, 27 Jan 2022 18:18:29 +0200

Well, these five methods can easily beautify the Pandas data chart

Hello everyone, I always believe that good ideas are obtained through ideological exchange and collision. Recently, a wechat group netizen lamented that pandas data is too monotonous. As a result, another one gave such a beautiful solution. Let's enjoy it together. You can join our technical exchange group at the end of the article. We know th ...

Added by sampledformat on Thu, 27 Jan 2022 16:06:25 +0200

python inheritance rewrite single inheritance multiple inheritance polymorphic MGR lookup order MIXIN class

Class inheritance Basic concepts One of the three object-oriented elements, Inheritance Both humans and cats inherit automatic objects. Individuals inherit from their parents and inherit some of their parents' characteristics, but they can also have their own personality. In the object-oriented world, if you inherit from the parent class, you c ...

Added by IceHawk on Thu, 27 Jan 2022 16:01:28 +0200

Research on font - Analysis of font file

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python actual combat quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 preface This article mainly introduces the parsing operation of OpenType font files (including TrueType outline and Postscript outline) using ...

Added by jitesh on Thu, 27 Jan 2022 14:31:24 +0200

[Python] de filtering file code through md5

Here are some code records This time is to help a friend restore the hard disk. The scanned result contains many partitions. By exporting the data in the partition, it is found that many files are duplicate. So I thought of using python code to duplicate. First, put the picture files of all partitions into a folder A. if there is a naming conf ...

Added by fatywombat on Thu, 27 Jan 2022 13:38:52 +0200

2022 Spring Festival blessing wechat automatic reply

As we all know, when we play games or watch the Spring Festival Gala all night, if your friends and relatives send you Spring Festival greetings at this time, and you happen to be in the group war or see the wonderful part, we can't take the time to reply to them. In case they call directly and interrupt our good time, it's easy to make us happ ...

Added by plutoplanet on Thu, 27 Jan 2022 10:47:09 +0200

Python linkage CSV and MySQL + a requirement implementation

Python linked CSV and MySQL 1, Make sure MySQL is available After MySQL is installed (the simplest installation method is to download the installation package from the official website and then install it step by step), it's time to operate ~ % mysql --version % zsh: command not found: mysql Copy code command not found: mysql appears most ...

Added by argyrism on Thu, 27 Jan 2022 10:22:28 +0200

Getting started with Python classes and objects

In this article, for classes and objects in Python, python language is everywhere. If you have a shallow understanding of python, you should have heard that Python is an object-oriented programming language, so you may often see passages like "Object-Oriented" programming, and object-oriented programming languages have three character ...

Added by simon13 on Thu, 27 Jan 2022 09:15:15 +0200