Welcome to the personal weblog & portfolio of Guyon Morée
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.
Using the print statement in Python can be very expensive!
A friend and I decided to take on the DIY 3D Scanner this weekend.
While working on an application I'm writing using PyQt, I was surprised by the lack of up-to-date PyQt Designer tutorials.
Find the largest prime factor of the number 600851475143.
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.
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.
Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million.
Find the sum of all the multiples of 3 or 5 below 1000.