Applicable scenarios: Search all prefabs in the specified folder and find all referenced images and paths. Step analysis: 1. Get the resource path through guid 2. Get the path containing the suffix .prefab in the folder 3. Load the resource in the editor (if you want to edit the resource, you need to add Start […]
Tag: folder
100 lines of python to synchronize Android and Windows LAN folders
Programming solves all problems Obsidian builds personal notes Recently I am using Obsidian to build personal cloud notes Although I used COS image bed + gitee to implement cloud backup, the Obsidian backup on Android is a little bit trouble. Fortunately, I mainly take notes on the computer, and my phone is just a reading […]
VSCode modifies extension and user folder directory location (Windows)
VSCode modifies extension and user folder directory location (Windows) Foreword: method Preliminary preparation: Method 1 (strongly recommended) Method 2 (not recommended) Method 3 (too troublesome, not recommended) Foreword: VSCode extensions and user information are stored in the C drive by default: // Take my computer as an example: extensions: C:\Users\HP.vscode\extensions user-data: C:\Users\HP\AppData\Roaming\Code As demand continues […]
[E-book conversion] Read the pdg files in the specified folder and convert them to png and then to PDF, perfect
When I downloaded a book from an e-book download website and wanted to read it, I opened it and found: It’s not in PDF format, it’s in .pdg. Although it can be opened with Paint, it would affect the reading speed too much. So I thought, since it’s a picture, can I convert it to […]
Java folder recursive operation tool class
Zero: Function Summary The main functions implemented by this tool class are: Recursively search all file names under a certain path Recursively search all file names under a certain path and remove duplicates Recursively search for all file names of a specified type under a certain path Recursively search for all file names matching file […]
Data processing: An example of pandas batch reading target data of a folder
1. Task: Extract the target line in the target file and unify its format It is necessary to filter out the rows whose Item Number is in the target file. [1234, 2345, 4567, 6789, 7890] 2. View data Check the data first. One of the target files is csv, one is xls, and one is […]
How to save pictures downloaded in python, download pictures in python to a folder
Hello everyone, this article will focus on how to save images downloaded in python. Downloading images in python to a folder is something that many people want to understand. To understand whether images downloaded in python are not overwritten, you need to understand the following things first. Welcome to join the QQ learning exchange group, […]
Use python to modify the creation time of all files under the specified folder under the windows system
Use python to modify the creation time of all files under the specified folder under Windows system I don’t know if other friends have this need. Anyway, our family has this need. Requirement 1. There are currently a large number of files that need to change the file generation time. Due to unannounceable reasons, the […]
Compare the number of similar pictures in two folders based on python3
Requirement: There are only pictures in the two folders, the file format is .png, and there are no similar pictures in a single folder. Compare and detect the number of similar pictures in the two folders. Compare two pictures to see if they are similar codes, and use the hash mean to calculate the similarity […]
Java implements traversing a folder with 1 million data and obtains data modified within 2 days.
Directory 1 demand 2 Implementation 1 (first method) 2 Implementation 2 (recommended to use this, fast) 3 Implementation 3 (recommended) 1 Requirement Now there is a folder in which data will always be stored, and data will be stored dynamically. In the future, it may reach 1 million or 10 million data. So in order […]