Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Threads of learning notes for python

Shulou Source: shulou.com Published: 2022-06-01 07:45:25 09月27日 Update

After reading the basic tutorials of python, based on practical learning, quickly grasp the concept. Found a good python test book. "python stunts", yes, it is because one closely linked to the theme of security, second, the author directly started with the actual case, can not speak grammar, three. But the basic point will be inserted in the middle, so you can go to the textbook to refine it. In this way, we can start the learning journey of python and establish the primary and secondary. The main line is the actual combat case, and the secondary line is the basic knowledge point. Step by step. There is a practical problem-solving as the goal, and then repeatedly consolidate, repeatedly expand, will avoid a bad appetite for indigestion.

In the first chapter of the study, ch2, about using passwords to crack zip compressed files, when reading dictionary files, in order to speed up the efficiency, we adopted the multi-threaded mode and reviewed Liao Xuefeng's course on threads.

With regard to threads, python is generally the use of single-process multithreading, with # with interpretation points and red pen with important statements.

Time,threadingloop ():% threading.current_thread () .name n

Tags: Threads learning basics processes good practical practical documents cases bad important safe step by step primary and secondary main line theme journey author function method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology Shulou Tech Info Docker MariaDB