Category: Python

A simple GUI (graphical user interface)

Python is an easy-to-learn yet powerful language, and comes with a wealth of libraries. It is often used to create simple scripts. You run these on the command line, giving it any parameters it...

Take out your turtle for a recursive walk

Python is a simple but powerful language, and comes with a wealth of libraries. It took just 10 lines of code and the Turtle library to create the black line in the image above....

A simple plot with Python and Bokeh

Python is a simple but powerful language, and comes with a wealth of libraries. The chart above took just 9 lines of Python. All the hard work is done by the Bokeh library. It...

Use Python to update a spreadsheet

How would you like to grab a share price daily and store it in a spreadsheet? Or add a new column to dozens of spreadsheets – automatically? Python is a simple but powerful language,...

1/2 + 1/3 = 1/6

Fractions in Python

When you ask your spreadsheet to calculate 1/2 + 1/3 you get something like this: This is obviously an approximation. The 3’s after the decimal point repeat indefinitely. The correct answer is: 1/2 =...

Getting started with Python for Scientific Computing

Getting started with Python for Scientific Computing

So you’d like to do some data analysis or other scientific computer with Python. How do you start? The Anaconda distribution A Python ‘distribution’ is a bundle of Python goodies, typically Python itself, a...

Getting started with Python

Getting started with Python

So you’d like to give Python a go. How do you start? (If you are going to be using Python for Scientific Computing, including Data Analysis, have a look at this article instead) Installing...

Django Rest Framework API Microservice

Django Rest Framework API Microservice

I recently completed a small project for Zenstores. They simplify the shipping process for ecommerce sites. Their online service lets online businesses use multiple shipping companies for deliveries. Each shipping companies offers a different own...