Tag: file-handling
Browse 19 practical software engineering resources tagged with "file-handling". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving file-handling. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
File Handling and Processing
File handling is the practice of reading, writing, transforming, and managing files in applications. It involves understanding encoding, streaming, permissions, and safe I/O patterns.
The resources below cover reading and writing files, CSV, JSON, XML, compression, validation, and batch processing. Each recipe shows how to handle files reliably and efficiently in production.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Parse CSV Files with Python and Pandas
How to read, filter, and transform large CSV files efficiently using Python pandas and the csv...
Bash Loop Over Files
How to safely loop over files and directories in Bash, handling spaces, globs, and large file lists...
Bash Parallel Execution
How to run shell commands in parallel with xargs, GNU parallel, and Bash background jobs while...
Bash Text Processing
How to build capable text processing pipelines with grep, sed, awk, cut, sort, uniq, and tr for log...
Compress and Decompress Files with Gzip and Brotli
How to reduce file sizes for APIs, static assets, and log files using Gzip, Brotli, and zlib with...
Copy and Move Files Safely in Python, JS, Java, and Bash
Learn to copy and move files across platforms with Python, JavaScript, Java, and Bash. Includes...
Export Data to CSV and Excel Files
How to export structured data to CSV and Excel files efficiently.
Generate Temporary Files
How to create temporary files and directories safely with automatic cleanup across Python, Node.js,...
Read and Write Files
How to read from and write to files safely across multiple programming languages.
Rotate Log Files
How to implement log rotation by size, date, and count to prevent disk exhaustion across Python,...
Process Large Files with Streams
How to read, transform, and write large files efficiently using streams without loading entire...