Holiday time

, Categories: Travel .

My big holiday this year was to the US. Firstly I took a boat from Southampton to New York. Then a train from NY to Boston. And lastly a plane took me to Toronto. The weather was great, except on the boat. Boston and Toronto are very nice cities well worth a visit.

Queen Mary 2

Queen Mary 2

Paul Revere's home in Boston

Paul Revere's home in Boston

Toronto as seen from lake Ontario

Toronto as seen from lake Ontario

Read more →

Leeds Castle

, Categories: Travel .

Here are some photos from a visit to Leeds Castle, Canterbury Cathedral and Audley End.

Leeds Castle

Leeds Castle

Read more →

The enter method in the with statement

, Categories: Python / Tech .

The with statement is a great addition to Python. One thing that might not be immediately clear from the documentation is how the __enter__ method has to be implemented. If you want to use the object containing __enter__ then you have to return self there. You should not create a new object and return it.

Read more →

Podcasts

, Categories: Uncategorized .

Here are two great podcasts that make my ride into work more enjoyable : Astronomy Cast History of Rome Well worth subscribing to.

Read more →

Useless

, Categories: Uncategorized .

This is great : Some people have too much spare time.

Read more →
Previous page Next page