The way of learning python 21-30 questions

**We have updated 1-20 questions for you. We have been learning python for half a year. We first understand these basic questions, which is of great benefit to the improvement of your ability. Here we update 21-30 questions, and later we will update some basic knowledge of python. I hope you will pay more attention. 21. Questions: The robot mov ...

Posted by JayFM on Tue, 21 Sep 2021 17:45:51 -0700

Making warehouse management system software with python

Making warehouse management system software with python 1: System test run ——Inventory information management system -- |1: add product information |2: product information report |3: add shelf position |4: shelf position report |5: commodity warehousing management |6: Commodity issue management |7: commodity inventory information ...

Posted by wanda46 on Mon, 20 Sep 2021 01:55:45 -0700

Higher order functions and file operations

Higher order function Taking functions as parameters, such functions are called high-order functions. High-order functions are the embodiment of functional programming, which refers to this highly abstract programming paradigm Functional programming uses a lot of functions to reduce the repetition of code, so the program is relatively shor ...

Posted by jmac2501 on Sat, 18 Sep 2021 21:41:39 -0700

Python Spider Basics - about 160000 words

Spider 1. Python Basics 1.Python environment installation 1.1 download Python Official website: https://www.python.org/ 1.2 installing Python One way fool installation 1.3 test whether the installation is successful Win + R, enter cmd, enter If an error occurs: 'python', it is not an internal or external command, nor is it a ...

Posted by lady_bug on Sat, 18 Sep 2021 09:40:35 -0700

Function knowledge points

Elementary knowledge of function Process oriented programming vs functional programming Process oriented programming s1 = 'fjdsklfjdsfklds' count = 0 for i in s1: count += 1 print(count) l1 = [1, 22, 33, 44, 44, 545] count = 0 for i in l1: count += 1 print(count) Disadvantages: The code is repetitive and not public.The readability ...

Posted by kroll on Sat, 18 Sep 2021 06:17:13 -0700

Python learning notes: basic data types! (tuple, list, dictionary)

Tuple tupe Tuples are called read-only lists, that is, data can be queried but cannot be modified. Therefore, the slicing operation of strings is also applicable to tuples. Example: (1, 2, 3) ("a", "b", "c") List list List is one of the basic data types in python. Other languages also have data types similar to ...

Posted by calande on Sat, 18 Sep 2021 02:29:18 -0700

Chapter 7 function decorators and closures

  function decorators are used to "mark" functions in the source code to enhance the behavior of functions in some way. This is a powerful feature, but to master it, you must understand closures.   the ultimate goal of this chapter is to explain the working principle of function decorators, including the simplest registratio ...

Posted by Cerberus_26 on Sat, 18 Sep 2021 01:34:57 -0700

Data visualization of python for beginners (word cloud diagram)

1. The generation of word cloud needs to confirm that wordcloud and matplotlib have been installed. The download library can be downloaded through cmd or by directly entering instructions on the Jupiter notebook, or from the website https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud Download the installation package manually on the, place th ...

Posted by s2day on Sat, 18 Sep 2021 01:17:15 -0700

CTFshow question brushing diary MISC pictures (Part 2, 24-51) file structure and color channel

Document structure Misc24 BMP height change Tip: the flag is above the picture bmp format file The real flag is on the picture. You can see it by changing the height Misc25 PNG height change Tip: the flag is under the picture Just change the height misc26-crc32 Tip: the flag is still under the picture, but how much is it? Open t ...

Posted by kaspari22 on Sat, 11 Sep 2021 23:02:31 -0700

Data Driven Testing

The relationship between data-driven testing and automation: It's not about automated testing, it's about data-driven testing.On the premise of automated testing, data-driven testing is a way to optimize code. - The intent of automated testing is to maintain automated scripts. Learning objectives: Common automated test patterns Data Driven ...

Posted by shiggins on Sat, 11 Sep 2021 14:43:06 -0700