Hello, world!

Welcome to the personal weblog & portfolio of Guyon Morée


Disclaimer: the blogposts are at least 3 years old, but I keep them around anyway.

Obfuscated Python

To entertain & challenge my co-workers, I asked them to figure out what the following Python one-liner did, without taking it apart or executing it in the interpreter.

Python print performance

Using the print statement in Python can be very expensive!

3D Scanner

A friend and I decided to take on the DIY 3D Scanner this weekend.

PyQt Designer Video Tutorial

While working on an application I'm writing using PyQt, I was surprised by the lack of up-to-date PyQt Designer tutorials.

Pythonic Javascript

While coming across the release notes of Javascript 1.7 & 1.8, I noticed Javascript has gained some really Pythonesque features.

Project Euler Problem 3

Find the largest prime factor of the number 600851475143.

Python extended slice assignment

When you've been using a programming language for a long time, you like to think that syntax-wise, it has no more secrets left for you.

Python Decorator Classes

Most examples of creating decorators in python, show a function returning an inline function. If you wanted to initialize the decorator in some way, you'd have to write a function, initializing a function, returning a function.

Project Euler Problem 2

Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million.

Project Euler Problem 1

Find the sum of all the multiples of 3 or 5 below 1000.