Python examples and test programs