Python Articles, Tutorials & News

Write an SQL query builder in 150 lines of Python

This is the fourth article in a series about writing my own SQL query builder. Today, we’ll rewrite it from scratch, explore API design, learn when to be lazy, and look at worse and better ways of doing things – all in 150 lines of Python!

Read more »

Python and SQL: Better Together

Python and SQL: Better Together Python and SQL are complementary – we should focus on how best to integrate them rather than try to replace them! By Alex Monahan 2021-08-15 (Yes, this is the one date format to rule them all) LinkedIn Twitter @__alexmonaha…

Read more »

Python and SQL: Better Together

Python and SQL: Better Together Python and SQL are complementary – we should focus on how best to integrate them rather than try to replace them! By Alex Monahan 2021-08-15 (Yes, this is the one date format to rule them all) LinkedIn Twitter @__alexmonaha…

Read more »

Reproducible Python Bytecode

Some Linux distributions (like Alpine and Arch Linux) are shipping something called “python bytecode” in their packages. It’s stored in .pyc files and is generated during the package build. They’re stored in __pycache__ folders and can be seen here:

Read more »