Tag

Directory Operations

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Dec 29, 2023 · Fundamentals

How to Retrieve All File Names in a Directory and Keep the Largest ZIP File Using Python

This article explains how to list all file names in a specified folder with os.listdir and os.path.isfile, shows a concise list‑comprehension version, and demonstrates how to retain only the largest ZIP file by sorting and deleting others using Python's os and glob modules.

Directory OperationsZIP filesfile handling
0 likes · 5 min read
How to Retrieve All File Names in a Directory and Keep the Largest ZIP File Using Python
Laravel Tech Community
Laravel Tech Community
Sep 7, 2022 · Backend Development

Common PHP File and Directory Utility Functions

This article provides a collection of reusable PHP functions for checking, creating, listing, copying, and deleting files and directories, offering developers ready‑to‑use code snippets that simplify common filesystem operations in backend projects.

Directory OperationsFile SystemPHP
0 likes · 5 min read
Common PHP File and Directory Utility Functions