Python Articles, Tutorials & News

The Python Launcher for Unix

The problemLet’s say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, “the newest version”, you may actually be wrong. That’s because python3 points at the last version of Python you inst…

Read more »

Top Python Libraries for Machine Learning

With the increase in the markets for smart products, auto-pilot cars and other smart products, the ML industry is on a rise. Machine learning is also one of the most prominent tools of cost-cutting in almost every sector of industry nowadays. ML libraries…

Read more »

The Python Launcher for Unix

The problemLet’s say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, “the newest version”, you may actually be wrong. That’s because python3 points at the last version of Python you inst…

Read more »

The Python Launcher for Unix

The problemLet’s say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, “the newest version”, you may actually be wrong. That’s because python3 points at the last version of Python you inst…

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 »

SQL query builder in 150 lines of Python

In this series, we examine an SQL query builder I wrote in 150 lines of Python, why I wrote it, how I thought about it, and the decisions I had to make. This article is a sneak peek of the series and the code.

Read more »