Juha-Matti Santala
Community Builder. Dreamer. Adventurer.

Blog posts in category “Python”

Snakes, snakes everywhere.

  • May 12th, 2024
    Two small hockey web projects

    Spring is the best time of hockey fans: NHL playoffs and IIHF World Championships fill days and nights with hockey. For me, that means running fun community projects and building software for them.

  • Apr 1st, 2024
    Documentation pages from dotfiles with config-renderer

    Making dotfiles readable isn’t always easy. To tackle that challenge, I created config-renderer, a Python CLI tool that documents dotfiles as HTML pages with a bit of custom markup.

  • Jan 25th, 2024
    Python Bytes featured Syntax Error

    In the episode 368 of Python Bytes, Brian talks about my January newsletter issue of Syntax Error.

  • Jan 17th, 2024
    I wish Python had Integer.times

    Ruby has a wonderful method times in Integer class. For readability reasons, I wish Python had something similar as well.

  • Jan 13th, 2024
    Debugging Python

    How to figure out what happens when the computer says no? This article is the written form of my Debugging Python talk I’ve given a couple of times lately. It explores both technical and non-technical approaches to being a code detective.

  • Jan 3rd, 2024
    Advent of Code 2023 retrospective

    Last month I participated in Advent of Code again, helping the elves to save Christmas. By 25th, I reached 36 stars and learned a bunch of new things.

  • Dec 6th, 2023
    We’re building community for Python developers

    archipylago is a new community for developers interested in Python in Turku region

  • Aug 27th, 2023
    Compressing overlapping strings in Python

    I developed a solution to a overlapping string puzzle with Python using Test-Driven Development and in this blog post, I share my thinking and development process.

  • Nov 30th, 2022
    Python prep for Advent of Code 2022

    Advent of Code is right around the corner and I decided to gather my favorite Python tips and standard library tools from my previous years' puzzle-solving.

  • Jul 28th, 2022
    I wrote my first Dropzone 4 action

    I recently got into two new apps: open source video player called Iina and a macos menu bar tool Dropzone. Then I wrote a Python script to connect the two. Beautiful.

  • Jul 13th, 2022
    Unit test your Python code in Jupyter Notebooks

    I used learned Jupyter Notebook for last year's Advent of Code but didn't have time in December to figure out how to test my code in that environment. Getting ready for the winter season, I took some time this summer holiday to explore the options and I'm sharing three ways in this blog post.

  • Jun 8th, 2022
    print is your best debugging tool

    One tool to rule them all, one tool to find them (bugs). One tool to bring them all, and in the editor fix them.

  • Apr 14th, 2022
    My trip to Django Day Copenhagen 2022 and Stockholm

    Django Day Copenhagen 2022 was a wonderful event full of great talks and amazing people. Here's my recap of my trip to the event.

  • Dec 31st, 2021
    45 stars, Christmas was almost saved - Advent of Code retrospective

    Advent of Code for this year is done and for the first time in my life, I got almost to completion with 45 stars and saving the Christmas! Here's my Advent of Code 2021 retrospective of the things I learned and experienced during this month.

  • Dec 15th, 2021
    Tips for Advent of Code

    Solving Advent of Code puzzles is a fun way to spend December. Over the years I've participated, I've picked up a habit or two that makes debugging broken solutions easier.

  • Dec 8th, 2021
    Advent of Code 2021

    This year I'm once again solving Advent of Code puzzles to help the elves save the Christmas. This year, my trusty tools are Python and Jupyter Notebook and I'm focusing on writing my thoughts and insights for other humans within my notebooks.

  • Oct 6th, 2021
    Python 3.10 is out and I'm excited

    A long-awaited release of Python 3.10 is finally here. Its two major new things are the introduction of pattern matching and the improved error messages.

  • Sep 29th, 2021
    How would you compare two version numbers?

    Comparing two software version numbers may sound simple and straightforward. I ran into a discussion about it in Twitter and explored further.

  • May 19th, 2021
    Scheduling operations in Python

    Do you have a need to run a Python function on regular intervals, like every hour or on 12.00 each Monday? Python package schedule makes it easy and its API is beautiful and easy to understand.

  • Mar 17th, 2021
    How to parse command line arguments in Python

    Python is a great language for writing command line applications. Its built-in tool for parsing arguments is powerful and I gathered together some of the most used cases.

  • Feb 17th, 2021
    Pattern matching is coming to Python

    Pattern matching is coming to Python this year and I'm so excited for it! I'll walk you through what is pattern matching and how it's gonna work in Python.

  • Oct 28th, 2020
    How to ask help for technical problems?

    Asking for help in technical problems can end up in a lot of back and forth before even getting to the bottom of the issue. Here are some tips how to effectively ask for help.

  • May 27th, 2020
    How to scrape a website with Python & BeautifulSoup

    Learn how to scrape data from websites using Python and BeautifulSoup so that you can use it in your scripts and applications.

  • Apr 30th, 2020
    True, True, True == (True, True, True) in Python

    A friend shared this interesting piece of Python code in our Telegram chat today and I wanted to walk you through it.

  • Apr 1st, 2020
    Testing lifehack: testlab repositories

    Sometimes it's hard to set up tests in a legacy project so I built testlab repositories so I can do TDD when I develop new functionality.