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

Green threads

Green threads are execution threads that are managed by a virtual machine (VM) instead of the operating system.  Green threads …

Read More
by Xor0x
06 Sep
Card Image
Python

Shallow Copying

Object copying can be performed as either "shallow" copying or "deep" copying. The difference between them lies in how nested …

Read More
by Xor0x
28 Aug
Card Image
Python

NetworkX

NetworkX is a Python library for analyzing complex networks. It provides data structures for working with graphs (networks) and implements …

Read More
by Xor0x
26 Aug
Card Image
Python

Asynchronous code

Asynchronous code is an approach to writing code that allows multiple tasks to be executed simultaneously within a single process. …

Read More
by Xor0x
26 Aug
Card Image
Python

Why shouldn't you use an empty list as a default argument?

Default values for function arguments are evaluated only once when the function is defined, not each time it's called. Therefore, …

Read More
by Xor0x
25 Aug
Card Image
Python

Removing the background from an image

rembg is a useful library that easily removes the background from any photograph. Installation: pip install rembg

Read More
by Xor0x
25 Aug
Card Image
Python

Dynamic module loading

Dynamic module loading in Python is the process of importing a module at runtime, as opposed to static imports that …

Read More
by Xor0x
24 Aug
Card Image
Python

Protocols

The terms "iterator protocol" or "descriptor protocol" are already familiar and have been used for a long time. However, now …

Read More
by Xor0x
18 Aug
Card Image
Python

Increment with __pos__

In Python, there is no increment operation ++ like in C-like languages, so x += 1 is used instead. However, …

Read More
by Xor0x
17 Aug
Card Image
Other

Difference and When to Use Session vs JWT

Read More
by Xor0x
13 Aug
Card Image
Python

Singleton design pattern

class Singleton: instance = None def __new__(cls): if cls.instance is None: cls.instance = super().__new__(cls) return cls.instance a = Singleton() b …

Read More
by Xor0x
13 Aug
Card Image
Python

Getting geolocation by IP using ip2geotools.

Recently, I discovered an intriguing package, ip2geotools which provides the ability to obtain geolocation by IP from various databases. An …

Read More
by Xor0x
12 Aug
Card Image
Python

Unlocking Windows GUI Automation with Pywinauto: A Python Developer’s Guide

Introduction Automation is a powerful tool for enhancing productivity, and Python, with its vast ecosystem of libraries, is a go-to …

Read More
by Xor0x
11 Aug
Card Image
Python

Working with Object Attributes

Besides the usual way of accessing object attributes using dot notation, Python provides four special functions: getattr, setattr, delattr, and …

Read More
by Xor0x
09 Aug
Card Image
Python

Using Type Annotations in Python

Python, a dynamically typed language, allows working with variables of various types. However, this flexibility can sometimes lead to errors …

Read More
by Xor0x
  • 1
  • 2
  • 3
  • 4

Built with Django, PostgreSQL, Redis, and Cloudinary

XKlondike - © Copyright 2025. All Rights Reserved.