Updating Python samples.