Skip to content
Topic

Python

10 notes.

Python Sep 11, 2026 3 min read

edge-tts won’t give you WordBoundary events until you ask

One keyword argument, and it's keyword-only, and it's not in most of the tutorials — and then two things about ASS that cost me considerably longer than the keyword did.

Django Sep 9, 2026 7 min read

Never run django.template.Template() on HTML you didn’t write

A single stored record took an endpoint down for a week. It contained valid, working markup — for a different template language. Django compiled it anyway, because that is what you asked it to do.

Django Sep 9, 2026 8 min read

Fix Gunicorn’s TimeoutError: [Errno 110] Connection timed out in sock.sendall()

Your view already finished. The worker got stuck handing the response over - and raising --timeout, the usual first move, makes it last longer instead of fixing it.

Coding Sep 28, 2018 1 min read

Python: Add Two or More Numbers – Linked List

Learn how to add two non-negative integers represented by linked lists in reverse order. Check out this Python code example.

Coding Sep 28, 2018 1 min read

Python: Two Sum Problem

Learn how to find indices of two numbers in an array that add up to a specific target using Python. Check out this code and examples.

Coding Sep 27, 2018 1 min read

Python: Stack with Push, Pop and seek Minimum Value with O(1)

Learn how to implement a stack with push, pop, and seekMin functions in Python 3 with a time complexity of O(1). Check out this code!

Coding Sep 23, 2018 1 min read

Python: Lowest Common Ancestor of a Binary Tree – Non Recursive

Python 3 code to find the Lowest Common Ancestor of a Binary Tree This is a Non Recursive solution using DFS method. 17607189326aa3d68d81fa9_000033 17607189326aa3d68d81fa9_000034 Hope it helps.

Coding Sep 22, 2018 1 min read

Python: Lowest Common Ancestor of a Binary Search Tree

Python 3 code to find the Lowest Common Ancestor of a Binary Search Tree 17607189326aa3d68d81fa9_000035 Hope it helps.

Coding Sep 19, 2018 1 min read

Python: Array/List Rotation – Right

Python program to rotate an array towards its right Inplace Method 17607189326aa3d68d81fa9_000036 Split and Merge Method 17607189326aa3d68d81fa9_000037 Hope this helps.

Python Sep 18, 2018 1 min read

Python: Array/List Rotation – Left

Python program to rotate an array towards its left Inplace Method 17607189326aa3d68d81fa9_000038 Split and Merge Method 17607189326aa3d68d81fa9_000039 Hope this helps.