Minor fixes on extending python slides.
Add some fixes to extending python slides and their examples.