Tag

directory operations

1 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.

ZIP filesdirectory operationsfile 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.

BackendPHPdirectory operations
0 likes · 5 min read
Common PHP File and Directory Utility Functions
Ops Development Stories
Ops Development Stories
Nov 27, 2018 · Fundamentals

Master Python’s os Module: Essential File & Directory Operations

This guide walks you through Python’s os module, showing how to create, inspect, rename, and delete files and directories, manipulate paths, work with environment variables, execute system commands, and traverse directory trees using os.walk, all illustrated with clear examples and diagrams.

BackendPythondirectory operations
0 likes · 5 min read
Master Python’s os Module: Essential File & Directory Operations