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. Extracting Strings between HTML Tags with Python

    HTML is a markup language used to structure web pages. Often, when working with web data, we might need to extract the text content that li…

    Read more
  2. Python - Replace Vowels by Next Vowel: A Comprehensive Guide

    String manipulation is a fundamental aspect of programming, and Python provides powerful tools for working with text data. One interesting…

    Read more
  3. How to List Values for Each Pandas Group?

    Grouping data and listing values per group is critical for: - Understanding group composition (e.g., all courses a student takes). - Identi…

    Read more
  4. Working with WAV Files in Python using Pydub

    In the world of audio processing, WAV (Waveform Audio File Format) is a widely used format. Python, with its rich ecosystem of libraries, p…

    Read more
  5. Python - Sort Words Separated by Delimiter: A Comprehensive Guide

    In data processing, text manipulation, and everyday programming tasks, it’s common to encounter strings where words or elements are separat…

    Read more
  6. Python - Replace all words except the given word

    In Python, there are often scenarios where you need to manipulate text by replacing all words in a string while keeping specific words inta…

    Read more
  7. Reverse Alternate Characters in a String - Python

    String manipulation is a fundamental aspect of programming, and Python offers powerful tools for working with strings. One interesting prob…

    Read more
  8. Python - Convert Snake Case String to Camel Case

    In programming, naming conventions play a crucial role in code readability and maintainability. Two common conventions are: 1. **Snake Case…

    Read more
  9. Python - Check if String contains any Number

    In Python programming, there are often scenarios where we need to determine if a given string contains any numerical characters. This can b…

    Read more
  10. Python Program to Group Keys with Similar Values in a Dictionary

    In Python, dictionaries are a powerful data structure that allow us to store key-value pairs. Sometimes, we may encounter a situation where…

    Read more
  11. Python Program to Extract N Largest Dictionary Keys

    When working with dictionaries in Python, a common task is to identify the "top N" keys—either the largest keys (based on the keys’ own val…

    Read more
  12. Python - Remove Double Quotes from Dictionary Keys

    Python dictionaries are fundamental for storing key-value pairs, but keys sometimes contain unwanted characters like double quotes. This is…

    Read more
  13. Mastering `turtle.resizemode()` in Python: A Comprehensive Guide

    The `turtle` module in Python is a powerful tool for creating graphics and interactive drawings, making it a favorite for beginners and edu…

    Read more
  14. Mastering the `turtle.setworldcoordinates()` Function in Python

    The Python `turtle` library is a popular tool for creating simple graphics and animations. It provides an intuitive way to draw shapes and…

    Read more
  15. Extracting Dates from a Specified Column of a Pandas DataFrame using Regex

    In data analysis and manipulation, it is often necessary to extract specific information from text data within a Pandas DataFrame. One comm…

    Read more
  16. Python Program to Find the Sum of Dictionary Keys: A Comprehensive Guide

    Dictionaries are a fundamental data structure in Python, widely used for storing key-value pairs. They provide efficient lookups, insertion…

    Read more
  17. Python - Extract dictionaries with Empty String value in K key

    In Python programming, data manipulation often involves working with collections of dictionaries. There are scenarios where you need to fil…

    Read more
  18. Converting Floats to Integers in a Pandas DataFrame: A Comprehensive Guide

    In data analysis with Python using the Pandas library, you often encounter situations where you need to convert float values to integer val…

    Read more
  19. How to Convert Floats to Strings in Pandas DataFrame: A Comprehensive Guide

    When working with data in Pandas, you'll frequently encounter situations where you need to convert float values to strings. This conversion…

    Read more
  20. Mastering the `turtle.tracer()` Function in Python

    The `turtle` module in Python provides a simple way to create graphics and animations. One of the useful functions within this module is `t…

    Read more
  21. Mastering `numpy.random.shuffle()` in Python: A Comprehensive Guide

    In the realm of numerical computing and data science, random shuffling of data is a fundamental operation—whether for shuffling datasets in…

    Read more
  22. Extracting Key-Value Pairs with Substring Matching in Python Dictionaries

    Dictionaries are one of Python's most versatile and widely used data structures, providing efficient key-value pair storage and retrieval.…

    Read more
  23. Python: Sort a Dictionary by Max/Min Element in Value Lists

    Python dictionaries are workhorses of data storage, commonly used to map keys to collections of values—like student names to lists of test…

    Read more
  24. Convert Dictionary String Values to List of Dictionaries - Python

    In Python, working with data structures is a common task. Sometimes, you might encounter a situation where you have a dictionary with strin…

    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.