Python crawler diary 02 - Data Visualization

PYTHON crawler diary 02 - Data Visualization Record your learning reptile diary 1. Environmental preparation linux environment python3 6 + (there are many online tutorials here, so choose one that is more effective Installing Python 3 on Linux)) linux nginx environment (choose your favorite version) https://nginx.org/download/ ) linux guni ...

Posted by awared on Thu, 10 Feb 2022 15:03:40 +0100

[pytorch basics] Tensor and its basic operation

This article is reproduced from: https://zhuanlan.zhihu.com/p/36233589 Record learning only~ summary This chapter is just a summary of the routine operation of pytorch. It's good to have an impression in your mind. You know that there is such a thing. You can look at it in detail when you need it. In addition, you still need to use it in prac ...

Posted by ralba1998 on Thu, 10 Feb 2022 14:49:49 +0100

Implementation and application of [data structure] stack Python code example

  catalogue The stack is implemented as follows: Several practical applications of stack The stack is implemented as follows: Method 1: take the tail of the list as the top of the stack, and use the list method append and pop to realize the stack class Stack: def __init__(self): #Initialization class self.items=[] def isE ...

Posted by broann on Thu, 10 Feb 2022 12:27:32 +0100

Python finds substrings in strings

This is a question that Xiaobai blogger encountered when brushing leetcode. This is the best question in the leetcode question bank recently, so I share this joy here. I hope I can continue to make progress and persevere in the future.   catalogue Topic introduction Problem solving ideas and codes 1. Call function - find/index 2. Viole ...

Posted by CrusaderSean on Thu, 10 Feb 2022 12:03:57 +0100

Fish on time, close the net on time, and Python realizes the countdown after work! Never work overtime

  Have you ever had time to fish In the Internet circle, it is often said that 996 work system, but there are also 965, especially 007, and 007 feels like an ICU. Therefore, everyone will sneak around and occasionally touch fish. There are many ways to fish. Have you ever fished at work? What did you do during your fishing time? If you fini ...

Posted by silverspy18 on Thu, 10 Feb 2022 11:51:44 +0100

Interaction between pyqt5 qimage, QPixmap, Opencv, QLabel and Matplotlib

preface Early methods for image rotation were: cv2.imread() reads the imagenumpy rotating imageSave the rotated image CV2 Imwrite() and read the image again Because of the basic operation of images, I am a little white and have never touched anything. Therefore, the early idea is like this. This method is simple and clear, but ...

Posted by ropic on Thu, 10 Feb 2022 10:41:02 +0100

SQL project practice: user behavior analysis of Taobao

1. Introduction to data: Tianchi Taobao User Data 2. Data Import and Cleaning SQL interface tool used this time - SQL workbench 2.1 Importing data create table userbehavior( userID int, itemID int, categoryID int, bahaviortype text, timestamp int ); load data infile "C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/UserBehavior.csv" into ta ...

Posted by CBR on Thu, 10 Feb 2022 10:17:54 +0100

It's done! I use 20 lines of python code to fix the certificate photo for the goddess next door, and then...

Hello, I'm lex. I like bullying Superman. Lex I suggest you collect it. In the future, you can help Miss P's photos, ID photos, size adjustment, background and matting. You can do it directly in 10 lines of code and get it up in an instant. it happened like this In the evening, I was concentrating on writing code Suddenly, I received a ...

Posted by musson on Thu, 10 Feb 2022 07:42:56 +0100

Writing penetration test scripts and learning records in python

Learning record of writing penetration test script in python (4) Writing penetration test script in python -- information collection host discovery based on two protocols This is my first time to write a blog. As a beginner of network security, I hope to record, consolidate and strengthen what I have learned in the form of blogging. At the sa ...

Posted by abhic on Thu, 10 Feb 2022 05:46:15 +0100

Automatically push bedtime stories to your loved ones in Python

This article uses simple Python crawler, email sending and scheduled tasks to realize the function of sending bedtime stories regularly every day. It is an article with detailed steps. After testing, the program can still run normally. Recently, a cute asked me to tell her a little story before going to bed every night after I was busy. I thou ...

Posted by slayer22 on Thu, 10 Feb 2022 04:50:22 +0100