Tag

os

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2025 · Backend Development

Detecting USB Insertion and Selectively Copying Files with Python

This article explains how to monitor the /Volumes directory on macOS to detect USB insertion, then uses Python's os, shutil, and re modules to recursively walk the USB file system, filter files by type, size, and modification time, and automatically copy selected files to a local folder.

Automationfile-copyos
0 likes · 5 min read
Detecting USB Insertion and Selectively Copying Files with Python
Test Development Learning Exchange
Test Development Learning Exchange
Feb 10, 2025 · Fundamentals

Python Standard Library: File System and OS Modules Overview

This article provides a concise tutorial on Python's standard library modules for interacting with the operating system and handling files, covering os, os.path, shutil, glob, pathlib, io, tempfile, fileinput, pickle, csv, zipfile, and tarfile with example code snippets.

File I/OModulesPython
0 likes · 6 min read
Python Standard Library: File System and OS Modules Overview
IT Services Circle
IT Services Circle
Dec 20, 2024 · Backend Development

Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker

This article compiles detailed backend interview notes covering salary expectations, OS stack vs heap differences, process and thread concepts, DNS resolution, ping protocol, MySQL indexing and locking mechanisms, Redis performance characteristics, Kafka throughput optimizations, and Docker's underlying implementation.

ConcurrencyDockerInterview
0 likes · 17 min read
Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker
Java Tech Enthusiast
Java Tech Enthusiast
Nov 24, 2024 · Fundamentals

How Keyboard Input Traverses from Hardware to Software in Unix-like Systems

When a key is pressed, the keyboard controller generates an interrupt that pauses the CPU, invokes the interrupt handler and driver to translate the scan code into a character, writes it to a device file, which the X server reads and forwards via IPC to the focused window.

IPCInterruptUnix
0 likes · 3 min read
How Keyboard Input Traverses from Hardware to Software in Unix-like Systems
IT Services Circle
IT Services Circle
Aug 2, 2024 · Operations

Step-by-Step Installation and Review of Windows 11 24H2 LTSC Enterprise Edition

This article walks through downloading the leaked Windows 11 24H2 LTSC image, its reduced size, detailed installation methods (USB‑PE, dual‑boot, VM), language configuration, system settings, and final performance observations, highlighting its lightweight, ad‑free nature and suitability for modern CPUs.

InstallationSystemltsc
0 likes · 7 min read
Step-by-Step Installation and Review of Windows 11 24H2 LTSC Enterprise Edition
Test Development Learning Exchange
Test Development Learning Exchange
Jun 26, 2024 · Fundamentals

Overview of Common Python Standard Library Modules

This article provides practical code examples for using key Python standard library modules—including os, sys, json, datetime, re, math, collections, urllib, random, and logging—to perform common tasks such as file operations, system info, data parsing, date handling, pattern matching, calculations, data structures, web requests, random generation, and logging.

DateTimeJSONPython
0 likes · 4 min read
Overview of Common Python Standard Library Modules
Test Development Learning Exchange
Test Development Learning Exchange
Nov 6, 2023 · Fundamentals

10 Essential Python File Operation Libraries and Their Usage

This article introduces ten Python libraries—including os, pathlib, shutil, glob, zipfile, tarfile, csv, json, configparser, and logging—that simplify file handling tasks such as checking existence, reading, writing, copying, compressing, and logging, and provides clear code examples for each.

CSVJSONLibraries
0 likes · 6 min read
10 Essential Python File Operation Libraries and Their Usage
IT Services Circle
IT Services Circle
Sep 25, 2022 · Operations

Review and Installation Guide for Tiny10 – A Minimalist Windows 10 Build

This article reviews the tiny10 lightweight Windows 10 build, compares its market share and size to the standard OS, details the download and installation process, discusses language‑pack issues, evaluates system components and performance, and concludes with usage recommendations.

InstallationLightweightTiny10
0 likes · 6 min read
Review and Installation Guide for Tiny10 – A Minimalist Windows 10 Build
Python Programming Learning Circle
Python Programming Learning Circle
Aug 8, 2022 · Fundamentals

Top 10 Common Python File Operation Methods

This article presents the ten most frequently used Python file‑handling functions, explaining how to create, open, read, write, copy, move, rename, and delete files with code examples and tips on proper resource management.

file operationsopen()os
0 likes · 7 min read
Top 10 Common Python File Operation Methods
Python Programming Learning Circle
Python Programming Learning Circle
Aug 5, 2022 · Operations

Python Script for Detecting USB Insertion and Selectively Copying Files

This tutorial explains how to create a Python program that runs in the background, monitors the /Volumes directory for newly mounted USB drives, and automatically copies only selected files based on size, type, or modification date to a local folder.

file handlingosregex
0 likes · 5 min read
Python Script for Detecting USB Insertion and Selectively Copying Files
Python Programming Learning Circle
Python Programming Learning Circle
Jun 15, 2021 · Fundamentals

Using pathlib in Python 3 to Handle Cross-Platform File Paths

Python’s pathlib module provides a simple, cross‑platform way to construct and manipulate file paths, eliminating the need for manual slash handling or os.path.join, and offering convenient features such as path arithmetic, file existence checks, and easy conversion between Unix and Windows path formats.

Cross‑PlatformPythoncoding
0 likes · 7 min read
Using pathlib in Python 3 to Handle Cross-Platform File Paths
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Zero‑Copy Mechanisms in Operating Systems and Java

This article explains how zero‑copy techniques such as mmap, sendfile, and splice reduce CPU involvement in data transfer by avoiding memory copies between kernel and user spaces, and shows how Java NIO and Netty implement these mechanisms for high‑performance backend I/O.

Java NIOMMAPZero Copy
0 likes · 8 min read
Zero‑Copy Mechanisms in Operating Systems and Java
Laravel Tech Community
Laravel Tech Community
Jan 5, 2021 · Fundamentals

Understanding Linux Signals, kill Command, and trap Command

This article explains the types and default actions of Linux signals, distinguishes between standard and real‑time signals, and demonstrates how to use the kill and trap commands with practical shell script examples for signal handling.

LinuxSignalskill
0 likes · 7 min read
Understanding Linux Signals, kill Command, and trap Command
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2020 · Backend Development

Four Ways to Execute Shell Commands in Python

This article explains four Python techniques—os.system, os.popen, the commands module, and subprocess—for running shell commands, comparing their ability to capture output, return status, and recommending subprocess as the most flexible modern solution.

Pythoncommandsos
0 likes · 3 min read
Four Ways to Execute Shell Commands in Python
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2017 · Fundamentals

12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O

This article presents a concise collection of twelve fundamental Python techniques—including regex substitution, directory walking, list sorting and deduplication, dictionary sorting, conversions between dict/list/string, time manipulation, getopt argument parsing, formatted printing, numeral base conversion, executing system commands, handling Ctrl+C/Ctrl+D signals, and file reading/writing—each illustrated with ready‑to‑run code snippets.

Argument ParsingData StructuresFile I/O
0 likes · 14 min read
12 Essential Python Programming Basics: Regular Expressions, Directory Traversal, List Sorting, Deduplication, Dictionary Sorting, Data Conversion, Time Operations, Command‑Line Parsing, Print Formatting, Base Conversion, System Commands, Signal Handling, and File I/O