Tiny Hacks using PHP and Python