Pure Python

Python is an easy to learn programming language that allows you to automate simple tasks and build complicated programs. Whether it is data analytics, sending emails, processing excel data, making smaller images or automating daily tasks, python makes it possible. On this site you will find my python scripts that make my daily life easier. This site is all about learning Python in small byte-sized chunks you can easily absorb during your coffee break.

| Lees tijd: 2 mins | Aantal woorden: 456

Get the column names with python from a SQLite database is possible! The sollution is actually very easy. To get a list of column names from a table in a SQLite database or getting the row or rows back as a dictionary solution is just one extra line of code...

| Lees tijd: 1 min | Aantal woorden: 315

Leading zeros in a python number is not very difficult. A leading zero is any 0 digit that comes before the first nonzero digit in a number string in positional notation. For example, James Bond’s famous identifier, 007, has two leading zeros. When leading zeros occupy the most significant digits...

| Lees tijd: 1 min | Aantal woorden: 214

Renaming files with an auto increment number at the end in Python is very easy. I created this script because every now and then I have to rename a lot of files, like images, to a one named-based with increment number files. This script is very easy to rename files,...

| Lees tijd: 2 mins | Aantal woorden: 387

Get colors from image with python is not very difficult. You want to have all the colors from an image? Or maybe multiple images? You can open Photoshop, or like me Pixelmator, but getting all the colors with the eyedropper tool can be a lot of work. So why not...