BestHub
Discover
Artificial IntelligenceBackend DevelopmentMobile DevelopmentProduct ManagementCloud NativeFrontend DevelopmentFundamentalsBig DataCloud ComputingGame DevelopmentR&D ManagementOperationsDatabasesInformation SecurityBlockchainUser Experience DesignInterview ExperienceIndustry Insights
View all →
TopicsTagsTrendsRanking
Sign in
Discover
Artificial Intelligence Backend Development Mobile Development Product Management Cloud Native Frontend Development Fundamentals Big Data Cloud Computing Game Development R&D Management Operations Databases Information Security Blockchain User Experience Design Interview Experience Industry Insights View all →
TopicsTagsTrendsRanking
Sign in
  1. Home
  2. / Tags
  3. / File Automation
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 10, 2024 · Fundamentals

How to Scan Thousands of Word Files for a Keyword Using Python

This article explains how to use Python's os module and python-docx library to recursively traverse a folder hierarchy, read .docx files, search for a specific keyword such as "nan", and output the names of matching documents, with optional performance tips.

File AutomationOS modulePython
0 likes · 5 min read
How to Scan Thousands of Word Files for a Keyword Using Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 11, 2023 · Fundamentals

How to Automate File Renaming and Deletion with Python: Practical Scripts

This article walks through practical Python scripts for automating office tasks, showing how to batch‑rename files based on folder names and safely delete unwanted files, complete with code examples, execution tips, and best practices for sharing concise snippets in community groups.

File Automationbatch renamingfile deletion
0 likes · 5 min read
How to Automate File Renaming and Deletion with Python: Practical Scripts
Python Crawling & Data Mining
Python Crawling & Data Mining
May 18, 2023 · Fundamentals

Automate Selective Folder Copying in Python: Two‑Step Script Guide

This tutorial explains how to automate selective folder copying in Python using os.walk and shutil, presenting a two‑step approach that first extracts directories starting with “数据” and then those containing “DD”, complete with full code examples and execution tips.

File Automationos.walkshutil
0 likes · 5 min read
Automate Selective Folder Copying in Python: Two‑Step Script Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 6, 2020 · Fundamentals

Automate Your Files: A Python Script to Sort Anything by Extension

This tutorial walks you through building a Python script that scans a given directory, extracts all files, and automatically organizes them into separate folders based on their file extensions, demonstrating practical use of the os, glob, and shutil standard libraries.

File AutomationPythonfile organization
0 likes · 6 min read
Automate Your Files: A Python Script to Sort Anything by Extension
BestHub

Editorial precision for engineers who prefer signal over noise. Deep reads, careful curation, and sharper frontiers in software.

Best Hub for Dev. Power Your Build.
Navigation
Status Discover Tags Topics System Status Privacy Terms Rss Feed