Python samples.

I've added Python samples based on the PHP samples.