Tagged articles
11 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Apr 18, 2025 · Fundamentals

Essential Python Standard Library Modules for System and File Operations

This article introduces several essential Python standard‑library modules—including os, shutil, subprocess, signal, sys, platform, logging, getpass, pwd, and grp—explaining their primary functions for file and process management, system information, logging, and user/group queries, and provides concise example code for each.

OS modulePythonfile management
0 likes · 4 min read
Essential Python Standard Library Modules for System and File Operations
Test Development Learning Exchange
Test Development Learning Exchange
Sep 13, 2024 · Fundamentals

Python Standard Library for Linux: File Operations, Process Management, Networking, System Info, Time, Logging, Monitoring, Compression, and Environment Variables

This article provides a comprehensive guide to Python's standard libraries for Linux, covering file and directory manipulation, process control, socket networking, system information retrieval, date and time handling, logging, file monitoring, compression, and environment variable management with clear code examples.

Networkingfile-operationslogging
0 likes · 10 min read
Python Standard Library for Linux: File Operations, Process Management, Networking, System Info, Time, Logging, Monitoring, Compression, and Environment Variables
Python Programming Learning Circle
Python Programming Learning Circle
Jan 27, 2024 · Fundamentals

An Introduction to Python's itertools Library and Its Common Functions

This article introduces Python's itertools module, explains why iterator-based tools improve code readability and performance, and provides concise examples of functions such as accumulate, chain, combinations, compress, count, cycle, dropwhile, filterfalse, groupby, islice, permutations, product, repeat, starmap, takewhile, tee, and zip_longest.

Iteratorfunctional-programmingitertools
0 likes · 9 min read
An Introduction to Python's itertools Library and Its Common Functions
Python Programming Learning Circle
Python Programming Learning Circle
Nov 4, 2023 · Fundamentals

Modern Python Standard Library: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools

This article reviews recent Python standard‑library enhancements, showing how pathlib replaces os.path, secrets supersedes os.urandom, zoneinfo replaces pytz, dataclasses improve on namedtuple, proper logging outperforms print, f‑strings beat format, tomllib replaces tomli, and setuptools supersedes distutils, with code examples for each.

Pythondataclassesf-strings
0 likes · 13 min read
Modern Python Standard Library: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools
Test Development Learning Exchange
Test Development Learning Exchange
Aug 20, 2023 · Fundamentals

Python Multimedia Service Modules: audioop, aifc, sunau, wave, chunk, colorsys, imghdr, sndhdr, ossaudiodev

This article introduces Python's multimedia service modules, explaining how to process raw audio data, read and write various audio file formats, detect image and sound file types, convert color systems, and access OSS‑compatible audio devices, all illustrated with practical code examples.

Multimediaaudiofile-handling
0 likes · 7 min read
Python Multimedia Service Modules: audioop, aifc, sunau, wave, chunk, colorsys, imghdr, sndhdr, ossaudiodev
Python Programming Learning Circle
Python Programming Learning Circle
Oct 30, 2021 · Fundamentals

Lesser‑Known Python Standard Library Features and Techniques

This article explores several lesser‑known Python standard‑library techniques—including string sanitization, iterator slicing with itertools.islice, skipping initial lines, enforcing keyword‑only arguments, creating custom context managers, using __slots__ for memory savings, limiting CPU/memory via the resource module, controlling module exports with __all__, and simplifying comparisons with functools.total_ordering.

IteratorsMemory Managementcontext managers
0 likes · 7 min read
Lesser‑Known Python Standard Library Features and Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2021 · Fundamentals

Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More

This article presents a collection of practical Python techniques—including string cleaning with translation tables, iterator slicing with itertools, skipping file headers, keyword‑only arguments, custom context‑manager objects, memory‑saving __slots__, CPU and memory resource limits, export control via __all__, and simplified total ordering—illustrated with concise code examples.

IteratorPythonString Manipulation
0 likes · 9 min read
Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More
MaGe Linux Operations
MaGe Linux Operations
Oct 6, 2020 · Fundamentals

What’s New in Python 3.9? Key Features, Syntax Tweaks, and Performance Gains

Python 3.9, now officially released, drops Windows 7 support, ships as 64‑bit by default, and introduces several language enhancements such as dictionary union operators, generic type hints for built‑in collections, relaxed decorator syntax, new string methods, plus numerous standard‑library updates, interpreter optimizations, and a new annual release schedule.

new-featurespython-3.9standard-library
0 likes · 5 min read
What’s New in Python 3.9? Key Features, Syntax Tweaks, and Performance Gains