kevin7.net

TinyMCE and Flask - Part 2 - Managing Images

Posted on by Kevin Foong

This is the second part of my earlier Flask / TinyMCE tutorial. See the first part here.

In this blog post I will outline the steps I used to save a thumbnail version of any image I upload to my post. Here I used the very useful Pillow (Python Imaging Library) library.

...

Tags: tinymce, flask, python


Investigating a soccer dataset in Python

Posted on by Kevin Foong

Using Python to analyse a dataset on Premier League soccer matches around the metrics of "possession" and "matches won", reveals some interesting findings. This is a previous assignment I did for my Udacity Nanodegree in Data Analysis.

In season 2015/2016 Leicester City won the league at starting odds of 5000-1.  Their possession stats (number of matches where they had more possession than the opposition) put them 3rd from bottom, but then we can deduce that perhaps they were also a lethal counter-attacking side.

...

Tags: python, data


TinyMCE and Flask

Posted on by Kevin Foong

In this post I will run through process of setting up the TinyMCE editor with Flask. TinyMCE is a great WYSIWYG editor and suitable for things like blog posts. It also enables you to upload images directly into your text.

Follow the instructions below to set up TinyMCE as a local download.

...

Tags: tinymce, flask, python