Python – Making Use of Google’s Text To Speech Translation Tool

Text to speech (tts) is a difficult task to get right and there are quite a few packages that show just how hard with their terrible tinny voices, these are also usually only limited to English, which for the larger part than most people would like to believe don’t find it very useful. Nevermind, […]

Python – Writing a ‘Fuzzy Clock’

If you want a clock that’s a little more human, there’s no better way than a ‘Fuzzy’ clock, essentially this converts the time in to a more brain friendly format such as “Twenty past Twelve” rather than 12:22.

Writing a simple fuzzy clock Source Code:

[gist][/gist]

Output:

$ python fuzzytime.py It’s 25 […]

Downloading all your Facebook Photos for Google Plus – In Linux

Okay so, with Google Plus just being released to a select few (and invites) you might be wanting to export all your Facebook photos, tagged and albums you’ve uploaded to Google+. There are several ways of going about this, a few webapps, apps and through Facebook itself, the problem is that most of these […]

Failed to build Planner-0.14.4 in Arch Linux

When trying to install Gnome Planner ( http://live.gnome.org/Planner ) in Arch Linux, I came across this error:

Error:

/usr/bin/pygobject-codegen-2.0: line 11: /usr/bin/python2: No such file or directory make[2]: *** [planner.c] Error 127 make[2]: Leaving directory `/home/alex/Desktop/planner-0.14.4/python’ make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/Desktop/planner-0.14.4′ make: *** [all] Error 2

To fix this, I […]

ImportError: No module named …

Numeric

Error:

Traceback (most recent call last): File “”, line 1, in ImportError: No module named Numeric

Package:

sudo apt-get install python-numeric

ImageTk

Error:

ITraceback (most recent call last): File “”, line 1, in ImportError: No module named ImageTk

Package:

sudo apt-get install […]

How To Fix: fatal error: Python.h: No such file or directory

(cd ./brain/psom && make) make[1]: Entering directory `/home/ubuntu/pyrobot/brain/psom’ (cd csom_src && make _csom.so) make[2]: Entering directory `/home/ubuntu/pyrobot/brain/psom/csom_src’ gcc -c -g -I -I/usr/include/python2.6 som_pak_wrap.c -I/usr/include/python2.6 -Isom_pak-dev som_pak_wrap.c:125: fatal error: Python.h: No such file or directory compilation terminated. make[2]: *** [som_pak_wrap.o] Error 1 make[2]: Leaving directory `/home/ubuntu/pyrobot/brain/psom/csom_src’ make[1]: *** [csom_src/_csom.so] Error 2 make[1]: Leaving directory […]

How To: Install Pyrobot in Ubuntu

A quick guide for getting pyrobot running in Ubuntu, I’ve managed to get it running on 32bit and 64bit Ubuntu (10.10) so follow the guide accordingly to whichever architecture you’re using (64bit is about half way down the post).

32-bit

1. Download this file, or copy the below into a file and save it […]