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.

| Reading time: 8 mins | Nr of words: 1442

So I was thinking, how to get live pageviews to show on my Jekyll site. A Jekyll site is a static site, it’s generated for display as static HTML pages. It’s not generated at every view but only once when it’s uploaded to de server. And when it is re-uploaded....

| Reading time: 3 mins | Nr of words: 658

Sending an email with python 3 is very easy, but you can also send attachments with Python 3 and Gmail. Now as I do not like doing stuff twice I wanted to have a script that would send files from a folder as separate emails. And that is exactly what...

| Reading time: 4 mins | Nr of words: 877

Calculating fractions in python is very easy. There are build in Fractions functions to calculate all kind of Fractions. So my eldest son had some homework where he had to do some calculations with fractions. As he hates doing homework I always try to persuade him to do make his...

| Reading time: 2 mins | Nr of words: 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...