delete py examples and tidy this up