XKlondike
  • Home
  • Category
    • Programming
      • Python
      • Go
      • Other
    • Software
      • Windows
      • Linux
    • Advanced Python Course
  • About Author
  • Login
25 Nov
Card Image
Python

Ruff

Ruff is an extremely fast Python linter and code formatter written in Rust. The main advantage of Ruff is its …

Read More
by Xor0x
25 Nov
Card Image
Python

Metaclass

A metaclass in Python is a class that defines the behavior of other classes that are its instances. In a …

Read More
by Xor0x
15 Nov
Card Image
Python

contextlib.redirect_stdout

The contextlib.redirect_stdout function in Python temporarily redirects the output of print() and other writing operations. It's useful when you need …

Read More
by Xor0x
15 Nov
Card Image
Python

Logical all and any

Built-in functions all() and any() are applied to sequences (lists, tuples, etc.) and return a bool value. all(iterable) — returns …

Read More
by Xor0x
10 Nov
Card Image
Python

Deep Copying

Deep copying creates a completely independent copy of the original list, including all nested structures. This means that changes to …

Read More
by Xor0x
10 Nov
Card Image
Python

Library Typer

Typer is a library for creating command-line interface applications in Python. It makes it easy to create CLI applications with …

Read More
by Xor0x
09 Nov
Card Image
Other

How PM2 Solved My Python Project's Production Challenges on Windows

As a solo Python developer working with a Windows production server, I faced several challenges keeping my Python applications running …

Read More
by Xor0x
09 Nov
Card Image
Python

Using the _ Operator to Reference the Last Result in Interactive Mode

In Python, when working in an interactive shell (such as REPL or Jupyter Notebook), you can use the underscore symbol …

Read More
by Xor0x
08 Nov
Card Image
Python

Useful Functions of the itertools Module

The itertools module is a tool in Python for working with iterable objects. It provides various functions for creating and …

Read More
by Xor0x
08 Nov
Card Image
Advanced Python Course

Lecture 4: Iterators, generators and decorators

In this lecture, we will examine such important topics as containers and related concepts of iterators and generators. To conclude, …

Read More
by Xor0x
12 Oct
Card Image
Python

Object Initialization and the self Argument

It's often not understood immediately, so just start using it and understanding will come sooner or later on its own. …

Read More
by Xor0x
11 Oct
Card Image
Python

Attributes of class

Variables that are defined at the class level are called attributes. class Person: name = 'Alex' age = 10 name …

Read More
by Xor0x
11 Oct
Card Image
Python

Objects and Classes

What is dir() and how does it differ from __dict__? In Python, dir() is used to return a list of …

Read More
by Xor0x
06 Oct
Card Image
Python

Using cachetools for caching in Python

cachetools is a small yet powerful library for caching that provides various caching strategies, such as LRU (Least Recently Used), …

Read More
by Xor0x
06 Oct
Card Image
Python

Using the itertools.tee() function to duplicate iterators

itertools.tee() is an interesting function from the itertools module that allows you to create multiple independent copies of the same …

Read More
by Xor0x
29 Sep
Card Image
Python

Working with Date and Time

Dateutil provides extensions to the methods already available in datetime and includes features for processing raw data. Dateutil is divided …

Read More
by Xor0x
29 Sep
Card Image
Python

Library for Working with Iterators

The built-in itertools package (https://docs.python.org/3/library/itertools.html) contains a collection of useful iterators. Let's talk about a few of them: combinations — …

Read More
by Xor0x
26 Sep
Card Image
Python

Using functools.partialmethod to Create Partial Methods

functools.partialmethod This function allows you to create a partial method of a class by pre-fixing some of the method's arguments. …

Read More
by Xor0x
24 Sep
Card Image
Windows

Volume2 - Adjusting volume with mouse scroll on the taskbar

A small utility that allows you to adjust the volume at any time by simply hovering your mouse over the …

Read More
by Xor0x
24 Sep
Card Image
Python

Using itertools.combinations_with_replacement to generate combinations with repetition

itertools.combinations_with_replacement is a useful function from the itertools module that allows you to create combinations of elements with repetition. This …

Read More
by Xor0x
24 Sep
Card Image
Python

Tenacity is a powerful library for implementing retries.

Tenacity is a library for implementing automatic retries when errors occur. It allows you to easily add retry logic to …

Read More
by Xor0x
  • 1
  • 2
  • 3

Built with Django, PostgreSQL, Redis, and Cloudinary

XKlondike - © Copyright 2025. All Rights Reserved.