Day17 CSV file, excel file operation and object-oriented programming

day17 - csv file and excel file operation and object-oriented programming (10.12) 1. python reads csv files python read csv file – read csv file Create folder - ctrl+c – ctrl+v add csv file (cancel) utf-8-sig – > signed UTF-8 – > with byte order mark (to ensure safe reading) import csv with open('resource ...

Posted by mk1200 on Tue, 12 Oct 2021 12:54:59 -0700

Day3 - print binary tree from top to bottom

Title Description Sword finger offer 32 prints a binary tree from top to bottom Each node of the binary tree is printed from top to bottom, and the nodes of the same layer are printed from left to right.The binary tree is printed by layers from top to bottom, the nodes of the same layer are printed from left to right, and each layer i ...

Posted by kamasheto on Tue, 12 Oct 2021 12:29:24 -0700

Production of NUS-WIDE-10K dataset

NUS-WIDE is a multi label dataset, which contains 269648 samples and can be divided into 81 classes. Recently, I was doing a cross modal retrieval project and found that many papers used the NUS-WIDE-10K dataset, but I didn't find the relevant dataset download link or dataset creation code on the Internet, so I wrote a NUS-WIDE-10K dataset crea ...

Posted by ambrennan on Tue, 12 Oct 2021 12:23:47 -0700

python implementation -- file operation (super detailed)

basic operation File path 1: Splicing path In windows and non Windows systems, the slash used for the path is different. Using os.path.join() can give the correct answer import os print(os.path.join('C', 'Program Files', 'Common Files')) result: C\Program Files\Common Files There are three ways to the path: (1) : use left slash [reco ...

Posted by Simon Mayer on Tue, 12 Oct 2021 11:48:38 -0700

Basic learning of python 3

This paper is the notes and corresponding practice application in the process of self-learning python  , I hope it can help you, and I hope you can communicate and learn together catalogue 1, for loop -- iteration 1. Iterative dictionary 2. Some iterative tools 3. Reverse iteration and iteration after arrangement 4. Simple derivatio ...

Posted by flash-genie on Tue, 12 Oct 2021 11:44:30 -0700

Safety course design experiment

Experiment 1: brute force cracking Specific requirements: break the login point of the specified IP environment. A. IP address can be specified; B. The number of threads required for scanning can be set; C. Analyze the burst result and its principle, and show the corresponding process. 0x01 low difficulty: Log in to dvwa range Reset d ...

Posted by arun4444 on Tue, 12 Oct 2021 11:11:57 -0700

Python based credit scoring card model analysis (strongly recommended)

The credit risk measurement model can include personal credit rating, enterprise credit rating and national credit rating. Human credit rating consists of A series of rating models, including A card (application scoring card), B card (behavior model), C card (collection model) and F card (anti fraud model). Today, we show the development proces ...

Posted by asmith on Tue, 12 Oct 2021 10:25:47 -0700

[from introduction to mastery of Python] let's finish the basic knowledge of python with tens of thousands of words! [just collect]

Why did you write this article Since I wrote my first Python series column on June 13, 2021, I have successively updated 27 Python series articles. Here, I would like to thank readers for their support and reading, especially the little partners of one button three company. This column is named [Python from introduction to mastery], which is ...

Posted by miniramen on Tue, 12 Oct 2021 01:07:48 -0700

Learn SQLI-LABS records (11-20)

Learn SQLI-LABS records (11-20) Less 11 POST-Error Based-Single Quote-String When we enter a set of correct user names and passwords, such as admin:admin: The page displays login success. Since it is post injection, we should look for the injection point where we enter the user name and password. After we enter admin:admin \: It is found ...

Posted by squizz on Tue, 12 Oct 2021 00:43:48 -0700

First time for python (Python beginning experience)

All the code written before was written in C/C + + language. Recently, I learned python, which is quite different from C/C + +, but it is also convenient. Let's make a simple record. 1. "hello world" in any language a. First, if we want to be faster and use some Python statements, if the computer has configured the python environmen ...

Posted by monkuar on Tue, 12 Oct 2021 00:13:07 -0700