Latest blogs

Writing drifts through this section from time to time, offering passing thoughts and loose reflections for whoever feels like pausing here.

View all →
  1. Barrier Objects in Python: Synchronizing Concurrent Tasks

    In concurrent programming, coordinating multiple threads to reach a common synchronization point is a common challenge. Python's `threading…

    Read more
  2. Using CX_Freeze in Python: A Comprehensive Guide to Creating Standalone Executables

    Python is a powerful language for building applications, but distributing Python scripts to end-users can be challenging—especially if thos…

    Read more
  3. Deep Dive into the `sort()` Method in Python

    Sorting is a fundamental operation in programming that arranges elements in a specific order. In Python, the `sort()` method provides an ef…

    Read more
  4. Three-way Partitioning of an Array around a Given Range in Python

    In programming, there are often scenarios where we need to partition an array based on certain criteria. One such useful partitioning techn…

    Read more
  5. Generating Word Cloud in Python | Set 2

    Word clouds are a popular way to visualize text data. They display words in different sizes, where the size of a word represents its freque…

    Read more
  6. Python Program to Detect the Edges of an Image using OpenCV | Sobel Edge Detection Method

    In the field of computer vision, edge detection plays a crucial role. Edges represent the boundaries between different objects or regions i…

    Read more
  7. Comparing and Filtering NumPy Arrays: A Comprehensive Guide

    NumPy is the fundamental package for scientific computing in Python, providing powerful N-dimensional array objects and tools for working w…

    Read more
  8. Disabling Focus for Tkinter Widgets in Python

    Focus management is a crucial aspect of creating polished GUI applications. In Tkinter, widgets can receive focus through mouse clicks or k…

    Read more
  9. How to Generate a Random Phone Number Using Python

    Phone numbers are an essential part of our daily lives, and there are times when we might need to generate random phone numbers for testing…

    Read more
  10. Python - Mastering Timedelta Objects with Negative Values

    In Python, the `datetime` module provides robust tools for working with dates and times. Among these tools, the `timedelta` class is indisp…

    Read more
  11. Scientific GUI Calculator using Tkinter in Python

    Tkinter is the **de facto standard GUI library for Python**—it’s included with all standard Python installations, making it accessible to b…

    Read more
  12. Python datetime.tzname() Method: A Comprehensive Guide

    In the world of software development, handling dates and times accurately is critical, especially when dealing with global applications. Ti…

    Read more
  13. Mastering Data Pipelines in the Browser: A Deep Dive into TensorFlow.js tf.data.Dataset

    In the world of machine learning, data is the lifeblood of model training and inference. However, managing and preprocessing data efficient…

    Read more
  14. Converting Datetime to Integer Timestamp in Python

    In Python, working with dates and times is a common task. One useful operation is converting a `datetime` object to an integer timestamp. A…

    Read more
  15. TensorFlow.js `tf.train.Optimizer` Class: A Comprehensive Guide

    TensorFlow.js is a powerful JavaScript library for machine learning and deep learning, allowing developers to build and train models direct…

    Read more
  16. Isoformat to Datetime in Python: A Comprehensive Guide

    In the world of software development, date and time handling is a critical task, especially when dealing with data interchange, API respons…

    Read more
  17. How to Send Automated Email Messages in Python

    Automated email messaging is a fundamental capability for modern applications, enabling everything from notification systems and marketing…

    Read more
  18. Understanding TensorFlow.js `tf.initializers.Initializer` Class

    In the world of machine learning with TensorFlow.js, initializing weights and biases correctly is crucial for the performance of neural net…

    Read more
  19. Expressions in Python: A Comprehensive Guide

    In Python, expressions are the building blocks of code that allow you to compute values, make decisions, and manipulate data. An expression…

    Read more
  20. How to Install and Use the `glob` Module in Python on macOS

    The `glob` module is a powerful tool in Python for pattern matching on file paths, allowing you to search for files and directories using w…

    Read more
  21. How to Install Mutagen for Python in MacOS

    Mutagen is a Python library that allows you to handle audio metadata. Whether you want to read or edit tags in MP3, OGG, FLAC, and other au…

    Read more
  22. Python OpenCV - `destroyWindow()` Function

    OpenCV (Open Source Computer Vision Library) is a powerful library widely used for computer vision tasks in Python. It provides a vast arra…

    Read more
  23. Connecting PostgreSQL with SQLAlchemy in Python: A Comprehensive Guide

    PostgreSQL is a powerful open-source relational database known for its robustness, extensibility, and support for advanced data types (e.g.…

    Read more
  24. Deploying a Django App to Heroku Using GitHub Repository: A Complete Guide

    Deploying a web application can often feel like a daunting task, especially for developers who are primarily focused on building features r…

    Read more

Topic collections

Each area simply gathers related pieces in one quiet corner of the site, available whenever you feel like wandering through them.

  1. Python Tutorial

    Start your Python journey

    Learn Python from the ground up — from installation and syntax to real-world scripts and applications.

  2. Python OOP

    Think in Python objects

    Understand classes, objects, inheritance, and clean OOP practices to structure larger Python codebases.

  3. Python Design Patterns

    Reusable patterns for Python code

    Apply classic design patterns in Python to make your code more modular, expressive, and maintainable.

  4. Python Standard Library

    Master the Python standard library

    Discover batteries-included modules for files, networking, concurrency, and more to write less code.

  5. Python Testing & TDD

    Test-driven Python development

    Learn unit testing, pytest, and TDD workflows so your Python code stays reliable as it grows.

  6. Python Data Science

    Python for data science & ML

    Use Python for data analysis, visualization, and machine learning with popular libraries and workflows.