Tagged articles
22 articles
Page 1 of 1
DeepHub IMBA
DeepHub IMBA
Mar 10, 2026 · Fundamentals

7 Hidden Python Stdlib Tools That Simplify Your Code

The article presents seven powerful Python standard‑library features—generators for lazy evaluation, defaultdict for concise counting, pathlib for robust path handling, functools.partial for quick function specialization, itertools for flattening nested loops, type for dynamic class creation, and decorators for reusable logic—showing how each reduces memory usage, simplifies code, and improves automation.

GeneratorsPythonStandard Library
0 likes · 7 min read
7 Hidden Python Stdlib Tools That Simplify Your Code
Data STUDIO
Data STUDIO
Jan 9, 2026 · Fundamentals

6 Hidden Python Features That Can Double Your Coding Efficiency

This article showcases six powerful yet often overlooked Python standard‑library features—pathlib, contextlib, __slots__, functools.lru_cache, generator pipelines, and dataclasses—demonstrating how they simplify code, boost performance, reduce memory usage, and make scripts more maintainable.

GeneratorsPython__slots__
0 likes · 11 min read
6 Hidden Python Features That Can Double Your Coding Efficiency
Code Mala Tang
Code Mala Tang
Oct 4, 2025 · Fundamentals

Master Python’s pathlib: Clean, Cross‑Platform File Handling Made Easy

Learn how Python’s modern pathlib module transforms messy file‑system tasks into elegant, cross‑platform code by replacing os.path strings with object‑oriented paths, covering core concepts, essential operations, automation scripts, and best‑practice tips for safer, more readable file handling.

AutomationPythoncross-platform
0 likes · 11 min read
Master Python’s pathlib: Clean, Cross‑Platform File Handling Made Easy
Data STUDIO
Data STUDIO
Sep 1, 2025 · Fundamentals

5 Python Libraries That Rescue Crashing Code

The article walks through five Python libraries—tqdm, Joblib, Pathlib, Cachetools, and Hydra—showing how each can turn buggy, slow, or hard‑to‑manage scripts into clearer, faster, and more maintainable code with concrete examples.

HydraPythoncachetools
0 likes · 5 min read
5 Python Libraries That Rescue Crashing Code
php Courses
php Courses
Apr 10, 2025 · Fundamentals

Python File Path Handling: os.path and pathlib Guide

This article explains how to work with file and directory paths in Python, covering absolute and relative path concepts, the os.path module functions, the modern pathlib API, common operations such as joining, normalizing, traversing, and creating files and directories, and best practices for cross‑platform compatibility.

File PathsPythoncross-platform
0 likes · 8 min read
Python File Path Handling: os.path and pathlib Guide
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
Python Programming Learning Circle
Python Programming Learning Circle
Jul 22, 2023 · Fundamentals

Modern Python Standard Library: Pathlib, Secrets, Zoneinfo, Dataclasses, Logging, f‑strings, Tomllib and Setuptools

This article reviews the most useful additions to the Python standard library—Pathlib, Secrets, Zoneinfo, Dataclasses, proper logging, f‑strings, Tomllib and Setuptools—explaining why they replace older modules, showing concise code examples, and offering guidance on adopting them in everyday projects.

Pythondataclassesf-strings
0 likes · 14 min read
Modern Python Standard Library: Pathlib, Secrets, Zoneinfo, Dataclasses, Logging, f‑strings, Tomllib and Setuptools
Python Programming Learning Circle
Python Programming Learning Circle
Jun 30, 2023 · Fundamentals

Modern Python Standard Library: Pathlib, Secrets, ZoneInfo, Dataclasses, Logging, f‑strings, Tomllib, and Setuptools

This article reviews several modern Python standard‑library modules—Pathlib, Secrets, ZoneInfo, Dataclasses, proper logging, f‑strings, Tomllib, and Setuptools—explaining why they replace older alternatives and providing concise code examples to help developers adopt best practices and keep their projects up‑to‑date.

Standard Librarydataclasseslogging
0 likes · 13 min read
Modern Python Standard Library: Pathlib, Secrets, ZoneInfo, Dataclasses, Logging, f‑strings, Tomllib, and Setuptools
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2023 · Fundamentals

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

This article introduces the most useful additions and modern replacements in recent Python releases—including pathlib, the secrets module, zoneinfo, dataclasses, proper logging, f‑strings, the built‑in tomllib, and the transition from distutils to setuptools—showing why and how to adopt them in everyday code.

Pythondataclassesf-strings
0 likes · 15 min read
New Python Standard Library Features: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools
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.

File Pathscodingcross-platform
0 likes · 7 min read
Using pathlib in Python 3 to Handle Cross-Platform File Paths